Bot. List of Chats#
Returns a list of chats in which the bot participated.
| 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. |
| List of Chats | [Dictionary] The list of chats is returned as a dictionary. The keys of the dictionary are the usernames, and the values are the chat ids. For example: $chatid = $Chats["username"]. This retrieves the chat id value for the user username, and this variable can then be used in message sending blocks. |
| 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 Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |