Esempio n. 1
0
 private void ChatClient_NewMessage(object sender, Service.Twitch.Models.NewMessageEventArgs e)
 {
     ChatMessageReceieved?.Invoke(this, new ChatMessageReceivedArgs
     {
         IsBroadcaster = e.UserName == "developersgarage",
         Message       = e.Message,
         UserName      = e.UserName
     });
 }
Esempio n. 2
0
 private void ChatClient_NewMessage(object sender, Service.Twitch.Models.NewMessageEventArgs e)
 {
     ChatMessageReceieved?.Invoke(this, new ChatMessageReceivedArgs
     {
         IsBroadcaster = e.UserName == ConstantAlias.ChatService.ChannelName,
         Message       = e.Message,
         UserName      = e.UserName
     });
 }