Channel owners can transfer channel ownership to another channel member.
TalkPlus.transferChannelOwnership(channel, targetUserId, new TalkPlus.CallbackListener<TPChannel>() { @Override public void onSuccess(TPChannel tpChannel) { } @Override public void onFailure(int errorCode, Exception exception) { } } );
TalkPlus.transferChannelOwnership(channel, targetUserId, object : TalkPlus.CallbackListener<TPChannel>() { override fun onSuccess(tpChannel: TPChannel) { } override fun onFailure(errorCode: Int, exception: Exception) { } } )
Last updated 5 months ago