GroupConfig constructor

GroupConfig({
  1. required bool enableGroupCreation,
  2. required int maxMembersCount,
  3. bool adminOnlyAddRemoveAccess = true,
})

Allows customization of group chat features, including enabling group creation, setting a maximum number of members, and specifying admin-only permissions for adding or removing members.

@param enableGroupCreation Determines whether group creation is enabled. @param maxMembersCount Specifies the maximum number of members allowed in a group. @param adminOnlyAddRemoveAccess Determines if only admins can add or remove members, defaults to true.

Implementation

GroupConfig(
    {required this.enableGroupCreation,
    required this.maxMembersCount,
    this.adminOnlyAddRemoveAccess = true});