채널 주인(owner)은 채널 소유권을 채널 내 멤버에게 이관할 수 있습니다.
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) { }
}
)