sharp-chat/SharpChat.Common/Events/ChannelUserJoinEvent.cs

15 lines
434 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Channels;
using SharpChat.Sessions;
using SharpChat.Users;
namespace SharpChat.Events {
[Event(TYPE)]
public class ChannelUserJoinEvent : Event {
public const string TYPE = @"channel:user:join";
public ChannelUserJoinEvent(IUser user, IChannel channel) : base(user, channel) { }
public ChannelUserJoinEvent(IChannel channel, ISession session) : base(channel, session) { }
}
}