updateUserGroup method

Future<UpdateUserGroupResponse> updateUserGroup(
  1. String id, {
  2. String? name,
  3. String? description,
  4. String? teamId,
})

Updates a user group's name and/or description.

teamId scopes the lookup; a group's team cannot be changed.

Implementation

Future<UpdateUserGroupResponse> updateUserGroup(
  String id, {
  String? name,
  String? description,
  String? teamId,
}) => _chatApi.userGroups.updateUserGroup(
  id,
  name: name,
  description: description,
  teamId: teamId,
);