SendMenuResult
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 |
type | string | obrigatório | — |
renderMode | string | obrigatório | Valores: "auto", "native", "poll", "text" |
rendered | string | obrigatório | Valores: "button", "list", "poll", "text" |
Definição OpenAPI
json
{
"allOf": [
{
"$ref": "#/components/schemas/SendResult"
},
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"renderMode": {
"type": "string",
"enum": [
"auto",
"native",
"poll",
"text"
]
},
"rendered": {
"type": "string",
"enum": [
"button",
"list",
"poll",
"text"
]
}
},
"required": [
"type",
"renderMode",
"rendered"
]
}
]
}