MessageContentText
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "O texto da mensagem (com a formatação do WhatsApp)."
},
"style": {
"type": "object",
"properties": {
"background_color": {
"type": "string",
"description": "Cor do fundo."
},
"text_color": {
"type": "string",
"description": "Cor do texto."
},
"font": {
"type": "integer",
"description": "Fonte."
}
},
"additionalProperties": false,
"description": "Só em post de status de texto."
},
"link_preview": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Link."
},
"title": {
"type": "string",
"description": "Título."
},
"description": {
"type": "string",
"description": "Descrição."
},
"thumbnail": {
"type": "string",
"description": "Miniatura JPEG em base64. Vem **só no aviso em tempo real** (webhook e SSE): não é gravada, então a busca não a traz."
}
},
"required": [
"url"
],
"additionalProperties": false
}
},
"required": [
"text"
],
"title": "texto"
}