using Luna.Shared;
namespace Luna.Channels.Abstractions;
///
/// Event arguments for when a message is received from a channel
///
public class ChannelMessageReceivedEventArgs : EventArgs
{
///
/// The received message
///
public required ChannelMessage Message { get; init; }
///
/// The channel that received the message
///
public required IChannel Channel { get; init; }
///
/// Set to true to indicate the message has been handled and should not be processed further
///
public bool IsHandled { get; set; }
}