Group
Estrutura de dados do contrato OpenAPI.
Estrutura de dados do contrato OpenAPI.
Campos
| Campo | Tipo | Presença | Descrição |
|---|---|---|---|
JID | string | obrigatório | — |
Name | string | obrigatório | — |
Topic | string | opcional | — |
OwnerJID | string | opcional | — |
OwnerPN | string | opcional | — |
IsLocked | boolean | opcional | — |
IsAnnounce | boolean | opcional | — |
AddressingMode | string | opcional | — |
ParticipantCount | integer | obrigatório | — |
Participants | array<object> | opcional | — |
Participants[].JID | string | obrigatório | — |
Participants[].PhoneNumber | string | opcional | — |
Participants[].LID | string | opcional | — |
Participants[].IsAdmin | boolean | obrigatório | — |
Participants[].IsSuperAdmin | boolean | obrigatório | — |
Participants[].DisplayName | string | obrigatório | — |
Participants[].Error | integer | obrigatório | Código por participante; 0 indica ausência de erro registrado. |
invite_link | string | obrigatório | Vazio se não solicitado ou sem permissão de admin. |
PictureID | string | opcional | — |
lastMessageAt | integer | opcional | Unix em segundos. Formato: int64 |
syncedAt | integer | opcional | Unix em segundos. Formato: int64 |
left | boolean | opcional | — |
GroupCreated | string | opcional | RFC 3339. Formato: date-time |
Definição OpenAPI
json
{
"type": "object",
"properties": {
"JID": {
"type": "string"
},
"Name": {
"type": "string"
},
"Topic": {
"type": "string"
},
"OwnerJID": {
"type": "string"
},
"OwnerPN": {
"type": "string"
},
"IsLocked": {
"type": "boolean"
},
"IsAnnounce": {
"type": "boolean"
},
"AddressingMode": {
"type": "string"
},
"ParticipantCount": {
"type": "integer"
},
"Participants": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GroupParticipant"
}
},
"invite_link": {
"type": "string",
"description": "Vazio se não solicitado ou sem permissão de admin."
},
"PictureID": {
"type": "string"
},
"lastMessageAt": {
"type": "integer",
"description": "Unix em segundos.",
"format": "int64"
},
"syncedAt": {
"type": "integer",
"description": "Unix em segundos.",
"format": "int64"
},
"left": {
"type": "boolean"
},
"GroupCreated": {
"type": "string",
"description": "RFC 3339.",
"format": "date-time"
}
},
"required": [
"JID",
"Name",
"ParticipantCount",
"invite_link"
]
}