// 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); } }
// 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); } }