sharp-chat/SharpChat.Common/Messages/IMessage.cs

17 lines
405 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Channels;
using SharpChat.Users;
using System;
namespace SharpChat.Messages {
public interface IMessage {
long MessageId { get; }
IChannel Channel { get; }
IUser Sender { get; }
string Text { get; }
bool IsAction { get; }
DateTimeOffset Created { get; }
DateTimeOffset? Edited { get; }
bool IsEdited { get; }
}
}