ReactResult
Estrutura de dados do contrato OpenAPI.
Estrutura de dados do contrato OpenAPI.
Campos
| Campo | Tipo | Presença | Descrição |
|---|---|---|---|
success | boolean | obrigatório | Valores: true |
messageid | string | obrigatório | — |
messageId | string | obrigatório | — |
id | string | obrigatório | — |
timestamp | integer | obrigatório | Unix em segundos. Formato: int64 |
reaction | object | obrigatório | — |
reaction.id | string | obrigatório | — |
reaction.emoji | string | obrigatório | — |
reaction.status | string | obrigatório | Valores: "sent", "removed" |
Definição OpenAPI
json
{
"allOf": [
{
"$ref": "#/components/schemas/SendResult"
},
{
"type": "object",
"properties": {
"reaction": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"emoji": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"sent",
"removed"
]
}
},
"required": [
"id",
"emoji",
"status"
]
}
},
"required": [
"reaction"
]
}
]
}