Manage Channel Members
1. Invite Users
You can invite members to the channel even if you are not the owner.
[[TalkPlus sharedInstance] addMemberToChannel:channel
userIds:userIds
success:^(TPChannel *tpChannel) {
// SUCCESS
} failure:^(int errorCode, NSError *error) {
// FAILURE
}];TalkPlus.sharedInstance()?.addMember(to: channel,
userIds: userIds,
success: { tpChannel in
// SUCCESS
}, failure: { (errorCode, error) in
// FAILURE
})2. Remove Members
[[TalkPlus sharedInstance] removeMemberToChannel:channel
userIds:userIds
success:^(TPChannel *tpChannel) {
// SUCCESS
} failure:^(int errorCode, NSError *error) {
// FAILURE
}];TalkPlus.sharedInstance()?.removeMember(to: channel,
userIds: userIds,
success: { tpChannel in
// SUCCESS
}, failure: { (errorCode, error) in
// FAILURE
})3. Get Channel Member List
4. Ban Users
5. Unban Users
6. Mute Members
Mute feature allows the channel owner to mute specific members in the channel. Muted members are not allowed to send messages.
7. Unmute Members
8. Peer Mute
You can mute another member in the channel.
9. Peer Unmute
10. Get Peer Muted List
Last updated