Skip to content

Bot Reply

Payload of the request to reply on behalf of a bot

message_typestringrequired
Enum:"comment""note""quick_reply"
Example:"comment"
typestringrequired
Value:"bot"
Example:"bot"
bot_idstringrequired

The id of the bot that is authoring the reply. A bot that doesn't exist returns a 404 error.

Example:"3156780"
bodystring

The text body of the reply. Must be present for comment and note message types.

Example:"Hello there!"
created_atinteger

The time the reply was created. If not provided, the current time will be used.

Example:1590000000
reply_optionsArray of objects(Quick Reply Options)

The quick reply options to display to the end user. Must be present for quick_reply message types.

attachment_urlsArray of strings, (uri), <= 10 items

A list of image URLs that will be added as attachments. You can include up to 10 URLs.

skip_notificationsboolean

Option to disable notifications when replying to a conversation. Available from API version 2.15.

Example:true
{ "message_type": "comment", "type": "bot", "bot_id": "3156780", "body": "Hello there!", "created_at": 1590000000, "reply_options": [ { … } ], "attachment_urls": [ "http://example.com" ], "skip_notifications": true }