public void LeaveChannel() { //TODO: Add ONLeaveSuccess SendMessageToChat(userName + " left the chat", Message.MessageType.info); rtm.LeaveChannel(channel); }
private void btnLeave_Click(object sender, EventArgs e) { rtm.LeaveChannel(channel); }