Example #1
0
 // 330
 private void OnPrivateChatCreatedEvent(object sender, int messageId, string messageName, string message)
 {
     if (PrivateChatCreatedEvent != null) {
         var chatId = int.Parse(message);
         var m = new MessageEventArgs_311330(messageId, messageName, chatId);
         PrivateChatCreatedEvent(this, m);
     }
 }
Example #2
0
 // 311
 private void OnUserListDoneEvent(object sender, int messageId, string messageName, string message)
 {
     if (UserListDoneEvent != null) {
         int chatId = Convert.ToInt16(message);
         var m = new MessageEventArgs_311330(messageId, messageName, chatId);
         UserListDoneEvent(this, m);
     }
 }