Chat message structure for API's
Chat Messages
Text Messages
Request format
const textMessage = {
config: {
textMessages: [{ text: '1st random text' }, { text: '2nd random text' }],
},
type: 'text',
};Configuration object
Text message object
Button template
Request format
Configuration object
Text message object
Button object
Payload object for type postback
Quick replies template
Request format
Configuration object
Text message object
Quick reply object
Payload object
Carousel
Request format
Configuration object
Carousel element object
Button object
Payload object for type postback
Media
Request format
Configuration object
Media object
Last updated
Was this helpful?