Skip to content

Commit 437e946

Browse files
docs(webhooks): add image.downloadError field description
1 parent 6fdac5d commit 437e946

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/webhooks/on-message-received.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ Os possíveis retornos do webhook **on-message-received** estão cadastrado logo
9393
| type | string | Tipo do evento da instância, nesse caso será "ReceivedCallBack". |
9494
| photo | string | Url da foto do usuário que enviou a mensagem. |
9595
| text.message | string | Texto da mensagem. |
96-
| image.caption | string | Leganda da foto. |
96+
| image.caption | string | Legenda da foto. |
9797
| image.imageUrl | string | Url da foto. |
9898
| image.thumbnailUrl | string | Url da thumbnail da foto. |
99+
| image.downloadError | string | Mensagem de erro ao falhar no download da imagem. |
99100
| image.mimeType | string | MimeType da imagem. |
100101
| audio.mimeType | string | MimeType do áudio. |
101102
| audio.audioUrl | string | Url do áudio. |
@@ -653,6 +654,7 @@ Os possíveis retornos do webhook **on-message-received** estão cadastrado logo
653654
"mimeType": "image/jpeg",
654655
"imageUrl": "https://",
655656
"thumbnailUrl": "https://",
657+
"downloadError": null,
656658
"caption": "",
657659
"thumbnailUrl": "https://",
658660
"width": 600,

i18n/en/docusaurus-plugin-content-docs/current/webhooks/on-message-received.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ The possible returns of the **on-message-received** webhook are registered below
9494
| image.caption | string | Photo caption |
9595
| image.imageUrl | string | URL of the photo |
9696
| image.thumbnailUrl | string | URL of the photo thumbnail |
97+
| image.downloadError | string | Error message when the image download fails |
9798
| image.mimeType | string | MimeType of the image |
9899
| audio.mimeType | string | MimeType of the audio |
99100
| audio.audioUrl | string | URL of the audio |
@@ -316,6 +317,7 @@ The possible returns of the **on-message-received** webhook are registered below
316317
"mimeType": "image/jpeg",
317318
"imageUrl": "https://",
318319
"thumbnailUrl": "https://",
320+
"downloadError": null,
319321
"caption": "",
320322
"thumbnailUrl": "https://",
321323
"width": 600,

0 commit comments

Comments
 (0)