updateMemberNick static method

Future<bool> updateMemberNick(
  1. String teamId,
  2. NIMTeamType teamType,
  3. String accountId,
  4. String teamNick,
)

更新群中,用户的昵称

Implementation

static Future<bool> updateMemberNick(String teamId, NIMTeamType teamType,
    String accountId, String teamNick) async {
  var res = await NimCore.instance.teamService
      .updateTeamMemberNick(teamId, teamType, accountId, teamNick);
  return res.isSuccess;
}