Text()
component:Button()
component:$_get
keyword. This function retrieves the value of the given parameter and sets if in place. So for example, in our example, the button's payload will be set to what the developers sets, or by default to the value of the title
parameter. Same thing goes for the accepts
property, which results in the following output:$_get
: will inject the value of the given parameter$_set
: will set the field to a specific valueQuickReply
custom component, which is a quicker way to create quick replies, which are features of Messenger, Workplace Chat and the Webapp channels.custom_components
parameter to your bot description with an array of key/value objects where the key is the name of the component and the value its definition.Component.MyComponent
) in your flows, whereas native components can be called directly (MyComponent
). This allows you to define different components per bot for the same engine instance, while being able to use common components across all your chatbots. Similarly, local components are easier to share with other users of your chatbots as they can be packaged together.