@aiteq/messenger-bot > OgTemplateMessageBuilder
Helps to create a Open Graph Template message.
↳ OgTemplateMessageBuilder
Returns: OgTemplateMessageBuilder
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
Sets an Open Graph Element.
Parameters:
Param | Type | Description |
---|---|---|
elementBuilder | OgElementBuilder |
Returns: this
- for chaining