POST/bots/{botId}/users/{userId}/messages
Makes a bot send messages to a specified user.
Using a template or quick reply button, you can allow the server to receive a postback message as a callback. For more information about the postback type, see Receive messages (callback).
The structures of each template and the quick reply are as follows.
[Figure Button template]
[Figure List template]
[Figure Carousel template]
[Figure Image carousel template]
[Figure Flexible template]
[Figure Quick reply]
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot.message
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| userId | string | User ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
For more information, see Message types.
OK