Channel owners can transfer channel ownership to another channel member.
[[TalkPlus sharedInstance] transferOwnership:channel targetUserId:userId success:^(TPChannel *tpChannel) { // SUCCESS } failure:^(int errorCode, NSError *error) { // FAILURE }];
TalkPlus.sharedInstance()?.transferOwnership(tpChannel, targetUserId: userId, success: { // SUCCESS }, failure: { (errorCode, error) in // FAILURE })
Last updated 6 months ago