SendMenuResult

Estrutura de dados do contrato OpenAPI.

Estrutura de dados do contrato OpenAPI.

Campos

CampoTipoPresençaDescrição
successbooleanobrigatórioValores: true
messageidstringobrigatório
messageIdstringobrigatório
idstringobrigatório
timestampintegerobrigatórioUnix em segundos. Formato: int64
typestringobrigatório
renderModestringobrigatórioValores: "auto", "native", "poll", "text"
renderedstringobrigatórioValores: "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"
      ]
    }
  ]
}