For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chatroom inbound and outbound message events

Chatroom inbound and outbound messages are only for event listening in the chatroom,chat_mt_message_notify (chatroom downstream message reception), chat_mo_message_notify (chatroom upstream message reception)

Field
Data type
Required
Description

wabaId

String

Yes

Waba Id

from

String

Yes

Enterprise Sender

to

String

Yes

User WhatsApp number

messageType

String

Yes

Message type

context

Object

Yes

Message content

wamid

String

No

Meta message ID

conversationId

String

No

Conversation ID (InnoPaaS chatroom conversation ID)

uid

String

No

User-defined ID

sendTime

String

Yes

Send time, UTC, e.g.: 2026-07-09T09:11:23.405Z

sendTimestamp

String

Yes

Send timestamp, accurate to the millisecond, e.g.: 1783588283405

chat_mt_message_notify example

{
    "id": "b5e984b3-21b2-42a9-b08b-72e5a4096ac6",
    "type": "chat_mt_message_notify",
    "eventTime": "2023-02-22T12:00:00.000Z",
    "body": {
        "wabaId": "WHATSAPP_BUSINESS_ACCOUNT_ID",
        "from": "wamid.BgNODYxN...",
        "to": "PHONE-NUMBER",
         "messageType": "text",
         "context": {
             "text":"this is test message"
           },
        "wamid": "wamid.BgNODYxN...",
        "conversationId": "12312312312312",
        "uid":"123123123123123213123",
         "sendTime":"2026-07-09T09:11:23.405Z", 
         "sendTimestamp":"1783588283405"
    }
}

chat_mo_message_notify example

最后更新于