Callback
You can handle events as follows:
// callback fired when new member is added to the channel
TalkPlusApi.OnMemberAdded += (sender, args) => { };
// callback fired when member leaves the channel
TalkPlusApi.OnMemberLeft += (sender, args) => { };
// callback fired when new message is received in the channel
TalkPlusApi.OnMessageReceived += (sender, args) => { };
// callback fired when message is deleted in the channel
TalkPlusApi.OnMessageDeleted += (sender, args) => { };
// callback fired when a new channel is created
TalkPlusApi.OnChannelAdded += (sender, args) => { };
// callback fired when the channel is updated
TalkPlusApi.OnChannelChanged += (sender, args) => { };
// callback fired when the channel is deleted
TalkPlusApi.OnChannelRemoved += (sender, args) => { };
// callback fired when member is muted
TalkPlusApi.OnMemberMuted += (sender, args) => { };
// callback fired when member is unmuted
TalkPlusApi.OnMemberUnmuted += (sender, args) => { };
// callback fired when member is banned
TalkPlusApi.OnMemberBanned += (sender, args) => { };
// callback fired when member is unbanned
TalkPlusApi.OnMemberUnbanned += (sender, args) => { };
Last updated