transferTeamOwner method
- String teamId,
- NIMTeamType teamType,
- String accountId,
- bool leave
移交群主
@param teamId 群组Id @param teamType 群组类型 @param accountId 新群主的账号id @param leave 转让群主后,是否同时退出该群
Implementation
Future<NIMResult<void>> transferTeamOwner(
String teamId, NIMTeamType teamType, String accountId, bool leave) async {
return _platform.transferTeamOwner(teamId, teamType, accountId, leave);
}