1. Invite Users
You can invite members to the channel even if you are not the owner.
Copy TalkPlusApi.AddMemberToChannel(channel, targetIds, (TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
2. Remove Members
Copy TalkPlusApi.RemoveMemberToChannel(channel, targetIds, (TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
3. Get Channel Member List
Copy TalkPlusApi.GetChannelMembers(channel,
lastUser,
(List<TPMember> tpMembers, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
4. Block Users
Copy TalkPlusApi.BanMemberToChannel(channel, targetIds, (TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
5. Unban Users
Copy TalkPlusApi.UnBanMemberToChannel(channel, targetIds, (TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
6. Mute Members
Mute feature allows the channel owner to mute specific members in the channel. Muted members are not allowed to send messages.
Copy TalkPlusApi.MuteMemberToChannel(channel,
targetIds,
expireInMinutes,
(TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
7. Unmute Members
Copy TalkPlusApi.UnMuteMemberToChannel(channel, targetId, (TPChannel tpChannel) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
8. Peer Mute
You can mute another member in the channel.
Copy TalkPlusApi.MutePeerToChannel(channel,
targetId,
expireInMinutes,
(TPChannel tpChannel, List<TPMember> mutedPeers) => {
// SUCCESS (if successful, returns peer-muted list)
}, (int statusCode, Exception e) => {
// FAILURE
});
9. Peer Unmute
Copy TalkPlusApi.UnMutePeerToChannel(channel,
targetId,
(TPChannel tpChannel, List<TPMember> unMutedPeers) => {
// SUCCESS (if successful, returns unmuted list)
}, (int statusCode, Exception e) => {
// FAILURE
});
10. Get Peer Muted List
Copy TalkPlusApi.GetMutedPeers(channel,
lastUser,
(List<TPMember> mutedPeers, bool hasNext) => {
// SUCCESS
}, (int statusCode, Exception e) => {
// FAILURE
});
Last updated 10 months ago