NormalizedMessageWebhookContent
Provider-independent inbound normalization. Fields are sparse and depend on the received content. Outbound content may include the original supported send fields. contacts can preserve provider-shaped records; send DTO contacts use flat camelCase names.
textstring
mediaUrlstring
mimeTypestring
fileNamestring
sizenumber
urlstring
shareTypestring
Possible values: [ig_reel, ig_post, ig_mention]
attachments object[]
Array [
urlstring
mimeTypestring
fileNamestring
]
location object
latitudenumber
longitudenumber
namestring
addressstring
urlstring
contact object
property name*any
contactsobject[]
poll object
idstring
questionstring
options[]
totalVoterCountnumber
isClosedboolean
isAnonymousboolean
allowsMultipleAnswersboolean
typestring
reaction object
messageIdstringrequired
actionstring
emojistring
buttons object[]
Array [
idstringnullablerequired
labelstringnullablerequired
typestringrequired
Possible values: [reply, list, postback]
]
context object
idstringrequired
deletedboolean
forwardedboolean
frequentlyForwardedboolean
property name*any
Provider-independent inbound normalization. Fields are sparse and depend on the received content. Outbound content may include the original supported send fields. contacts can preserve provider-shaped records; send DTO contacts use flat camelCase names.
NormalizedMessageWebhookContent
{
"text": "string",
"mediaUrl": "string",
"mimeType": "string",
"fileName": "string",
"size": 0,
"url": "string",
"shareType": "ig_reel",
"attachments": [
{
"url": "string",
"mimeType": "string",
"fileName": "string"
}
],
"location": {
"latitude": 0,
"longitude": 0,
"name": "string",
"address": "string",
"url": "string"
},
"contact": {},
"contacts": [
{}
],
"poll": {
"id": "string",
"question": "string",
"options": [
null
],
"totalVoterCount": 0,
"isClosed": true,
"isAnonymous": true,
"allowsMultipleAnswers": true,
"type": "string"
},
"reaction": {
"messageId": "string",
"action": "string",
"emoji": "string"
},
"buttons": [
{
"id": "string",
"label": "string",
"type": "reply"
}
],
"context": {
"id": "string"
},
"deleted": true,
"forwarded": true,
"frequentlyForwarded": true
}