Пример #1
0
 public TwitchMessage(string _content, string _rawMessage)
 {
     Content     = _content;
     Author      = new ChatUser();
     Cheer       = false;
     CheerAmount = -1;
     Emotes      = new Emote[0];
     ID          = "";
     Timestamp   = DateTime.UtcNow;
     Room        = new RoomState();
     RawMessage  = _rawMessage;
 }
Пример #2
0
 public TwitchMessage(string _content, ChatUser _author, bool _cheer, int _cheerAmount, Emote[] _emotes, string _id, DateTime _timestamp, RoomState _room, string _rawMessage)
 {
     Content     = _content;
     Author      = _author;
     Cheer       = _cheer;
     CheerAmount = _cheerAmount;
     Emotes      = _emotes;
     ID          = _id;
     Timestamp   = _timestamp;
     Room        = _room;
     RawMessage  = _rawMessage;
 }