Skip to content

Commit 47b96cd

Browse files
docs(webhook): add broadcast message example to on-message-received
1 parent 0b5489c commit 47b96cd

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

docs/webhooks/on-message-received.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,43 @@ Os possíveis retornos do webhook **on-message-received** estão cadastrado logo
20472047
}
20482048
}
20492049
```
2050+
### Exemplo de retorno quando a mensagem é enviada para uma lista de transmissão
2051+
2052+
```json
2053+
{
2054+
"isStatusReply": false,
2055+
"chatLid": null,
2056+
"connectedPhone": "554499999999",
2057+
"waitingMessage": false,
2058+
"isEdit": false,
2059+
"isGroup": false,
2060+
"isNewsletter": false,
2061+
"instanceId": "3C67AB641C8AA0412F6A2242B4E23AC7",
2062+
"messageId": "702CC5F7E0A6BF4421",
2063+
"phone": "1774895799-broadcast",
2064+
"fromMe": true,
2065+
"momment": 1774895725000,
2066+
"status": "RECEIVED",
2067+
"chatName": "",
2068+
"senderPhoto": null,
2069+
"senderName": "5544999999999",
2070+
"photo": null,
2071+
"broadcast": true,
2072+
"participantPhone": null,
2073+
"participantLid": "99999999999@lid",
2074+
"messageExpirationSeconds": 0,
2075+
"forwarded": false,
2076+
"type": "ReceivedCallback",
2077+
"fromApi": false,
2078+
"broadcastRecipients": [
2079+
"126104585119999",
2080+
"138955211189999"
2081+
],
2082+
"text": {
2083+
"message": "Teste de mensagem de lista de transmissão"
2084+
}
2085+
}
2086+
```
20502087

20512088
### Exemplo de notificação: Acesso ao link de convite limitado a administradores.
20522089

0 commit comments

Comments
 (0)