Construct a group option.
Optionalext?: stringOptionalinviteOptionalisOptionalmaxOptionalstyle?: numberOptionalextThe group extension information.
Whether to ask for consent when inviting a user to join a group.
Whether to automatically accept the invitation to join a group depends on two settings:
There are two cases:
inviteNeedConfirm is set to false, the SDK adds the invitee directly to the group on the server side, regardless of the setting of ChatOptions.autoAcceptGroupInvitation on the invitee side.inviteNeedConfirm is set to true, whether the invitee automatically joins the chat group or not depends on the settings of ChatOptions.autoAcceptGroupInvitation.ChatOptions.autoAcceptGroupInvitation is an SDK-level operation. If it is set to true, the invitee automatically joins the chat group; if it is set to false, the invitee can manually accept or decline the group invitation instead of joining the group automatically.
Whether the group is disabled:
true: Yes.false: No.The maximum number of members allowed in a group.
The group style.
The group options to be configured when the chat group is created.