When sending messages, you can either send messages to an array of chats, or send directly to one chat. Bulk endpoints are separate from direct endpoints.

Message Creation Part

GET /chats/:chatID/messages

Gets the most recent messages from a chat

Query String

Response

POST /chats/:chatID/messages

Sends a message to a given chat

Request

Response


POST /chats/:chatID/messages/plugin

Sends a plugin message to a given chat

Request

Response


Bulk API

The bulk API extends upon the previous two endpoints and allows you to send the same message to multiple chats without making multiple API calls. Their request and response payloads are the same, but require the following query-string parameters