createTeam method

Future<NIMResult<NIMCreateTeamResult>> createTeam(
  1. NIMCreateTeamParams createTeamParams,
  2. List<String>? inviteeAccountIds,
  3. String? postscript,
  4. NIMAntispamConfig? antispamConfig
)

创建群组

@param createTeamParams 创建参数 @param inviteeAccountIds 邀请加入账号id列表 @param postscript 邀请入群的附言 @param antispamConfig 反垃圾配置

Implementation

Future<NIMResult<NIMCreateTeamResult>> createTeam(
    NIMCreateTeamParams createTeamParams,
    List<String>? inviteeAccountIds,
    String? postscript,
    NIMAntispamConfig? antispamConfig) async {
  return _platform.createTeam(
      createTeamParams, inviteeAccountIds, postscript, antispamConfig);
}