@aiteq/messenger-bot > TemplateMessageBuilder
An abstract parent class for template message builders.
↳ TemplateMessageBuilder
↳ GenericTemplateMessageBuilder
↳ ReceiptTemplateMessageBuilder
Returns: TemplateMessageBuilder
Inherited from MessageBuilder
Adds a Quick Reply button to quickly send user's location.
Returns: this
- for chaining
Inherited from MessageBuilder
Adds a Quick Reply button to the message.
Parameters:
Param | Type | Description |
---|---|---|
title | string |
title of the Quick Reply |
id | string |
ID of the button (required for proper generation of webhook events) |
data | any |
optional data to be send when the user click on the Quick Reply button |
imageUrl | string |
URL of optional image |
Returns: this
- for chaining