Manage Channel Members
1. Invite Users
You can invite members to the channel even if you are not the owner.
TalkPlus.addMemberToChannel(channel,
targetIds,
new TalkPlus.CallbackListener<TPChannel>() {
@Override
public void onSuccess(TPChannel tpChannel) {
}
@Override
public void onFailure(int errorCode, Exception exception) {
}
}
);TalkPlus.addMemberToChannel(channel,
targetIds,
object : TalkPlus.CallbackListener<TPChannel>() {
override fun onSuccess(tpChannel: TPChannel) { }
override fun onFailure(errorCode: Int, exception: Exception) { }
}
)2. Remove Members
TalkPlus.removeMemberToChannel(channel,
targetIds,
new TalkPlus.CallbackListener<TPChannel>() {
@Override
public void onSuccess(TPChannel tpChannel) {
}
@Override
public void onFailure(int errorCode, Exception exception) {
}
}
);TalkPlus.removeMemberToChannel(channel,
targetIds,
object : TalkPlus.CallbackListener<TPChannel>() {
override fun onSuccess(tpChannel: TPChannel) { }
override fun onFailure(errorCode: Int, exception: Exception) { }
}
)3. Ban Users
4. Unban Users
5. Mute Members
Mute feature allows the channel owner to mute specific members in the channel. Muted members are not allowed to send messages.
6. Unmute Members
7. Get Channel Member List
8. Peer Mute
You can mute another member in the channel.
9. Peer Unmute
10. Get Peer Muted List
Last updated