JSON Parameter Description:
Unique identifier assigned to group from client.
Name of the group.
List of userIds of the group members.
Type of the group.
Image url for group.
Set another user as admin of the group.
- You can pass unique identifier in clientGroupId to identify groups. This can be useful in case you are storing group information in your backend and want to identify groups later.
- If clientGroupId is not passed then Applozic will generate a unique id for the group which should be used as clientGroupId for all API calls.
- In case of Application Bot calling the API, Of-User-Id header required. Of-User-Id is the userId of the user on behalf of which application bot wants to create a group.
Admin of group
If admin parameter is not passed, the caller will be added as an admin of the group. In case you are calling this API with admin header, Of-User-Id will act as a caller and added as an admin of the group.
"type" parameter's possible values are given below: