setGroupMemberAttributes method

Future<void> setGroupMemberAttributes({
  1. required String groupId,
  2. required Map<String, String> attributes,
  3. String? userId,
})

Implementation

Future<void> setGroupMemberAttributes({
  required String groupId,
  required Map<String, String> attributes,
  String? userId,
}) {
  return checkResult(ChatSDKEvent.setGroupMemberAttributes, () {
    return Client.getInstance.groupManager.setMemberAttributes(
      groupId: groupId,
      attributes: attributes,
      userId: userId,
    );
  });
}