namespace TinyChat; /// /// Represents a control that can display a chat message. /// public interface IChatMessageControl { /// /// The event that is raised when the size of the control is updated while streaming a message. /// public event EventHandler? SizeUpdatedWhileStreaming; /// /// Gets or sets the chat message displayed by this control. /// IChatMessage? Message { get; set; } /// /// Sets whether the control is receiving a stream or not /// /// The flag specifying whether a stream is being received or not void SetIsReceivingStream(bool isReceiving); }