Max Add Inline Button#
Max adds an inline button to an existing or new message body assembly object.
| Connector | [Link] Connection object. |
| Message Body | [Link] Message body assembly object. If not specified, a new message body assembly object will be created; if specified, the one provided will be used. This object can be used multiple times. For example, you can add photos, videos, buttons to it using the corresponding blocks. Afterwards, you can use this object in message sending blocks. |
| New Row | Start a new row. |
| Type | Button type. |
| Text | [Text] Button text. |
| URL | [Text] If you selected the "Link" button, specify the URL. |
| Payload | [Text] For "Callback" button - this is the button token. "OpenApp" - the launch parameter that will be passed to the "Clipboard" - the text that is copied to the clipboard after clicking the button. |
| Web App | [Text] Only for "OpenApp" type. Public name (username) of the bot or a link to it, whose mini-app should be launched. |
| Contact ID | [Text] Only for "OpenApp" type. Identifier of the bot whose mini-app should be launched. |
| Result | [Link] Message body assembly object. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Message | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |