Bot. Get Message#
Receives a message or callback from the queue. If there are no messages in the queue, an error is generated.
| Connection | [Link] The connection object to the bot. The variable name in this property must match the variable name in the "Connection" property of the "Bot. Create Connection" block from the Telegram group that was previously used to connect to the Telegram bot. |
| Wait for Message | When enabled, the block will wait for new messages. Otherwise, an error will be generated in the absence of a message. |
| Message | [Link] Returns the message object. Available properties:
|
| Callback | [Boolean] If enabled, the message contains callback data (button press). Available properties:
|
| 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 level of messages that the blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |