Beta
The group's ID
The join request IDs to approve
The server response
Beta
Create a new group
The group isn't ready when this resolves. Its id and invite link arrive later on the group_lifecycle_update webhook.
The bot's phone ID
The group's name (128 characters max)
Optionaldescription: string
The group's description (2048 characters max)
OptionaljoinApprovalMode: ClientGroupJoinApprovalMode
If users need to be approved before joining, defaults to "auto_approve"
The server response
Beta
Delete a group
The group's ID
The server response
Beta
Reject users from joining a group
The group's ID
The join request IDs to reject
The server response
Beta
Remove participants from a group
The group's ID
The recipient identifiers (phone and/or bsuid) of the users to remove
The server response
Beta
Create a new invite link for a group, the old one stops working
The group's ID
The server response
Beta
Get the info of a group
The group's ID
Optionalfields: ServerGroupField[]
The fields to get. If empty, only the group's id is returned
The server response
Beta
Get the invite link of a group
The group's ID
The server response
Beta
Get the pending join requests of a group
The group's ID
The server response
Beta
Get the active groups of the bot
The bot's phone ID
Optionallimit: number
How many groups to get, between 1 and 1024 (Meta defaults to 25)
Optionalafter: string
Cursor to get the next page
Optionalbefore: string
Cursor to get the previous page
The server response
Beta
Update the subject and/or description of a group
The group's ID
The new subject (128 characters max) and/or description (2048 characters max)
The server response
updateGroupPicture to change the group's picture
Beta
Update the picture of a group
The group's ID
The picture's FormData, with the image in the "file" field
Optionalcheck: boolean
If the FormData should be checked before uploading
The server response
Let users into a group