Updating Channel
Only the channel owner can update channel.
TalkPlus.updateChannel(channel,
maxMemberCount,
hideMessagesBeforeJoin,
channelName,
invitationCode,
category,
subcategory,
imageUrl,
metaData,
new TalkPlus.CallbackListener<TPChannel>() {
@Override
public void onSuccess(TPChannel tpChannel) {
}
@Override
public void onFailure(int errorCode, Exception exception) {
}
}
);
TalkPlus.updateChannel(channel,
maxMemberCount,
hideMessagesBeforeJoin,
channelName,
invitationCode,
category,
subcategory,
imageUrl,
metaData,
object : TalkPlus.CallbackListener<TPChannel>() {
override fun onSuccess(tpChannel: TPChannel) { }
override fun onFailure(errorCode: Int, exception: Exception) { }
}
)
Last updated