Client. Send Photo (TelegramClientSendPhoto)#
Sending a photo or image.
| Connection | [Link] Client connection object. The variable name in this property must match the variable name in the "Connection" property of the "Client. Create Connection" block from the Telegram group that was previously used to connect the Telegram client. |
| Destination | [Text] Destination object. This string can contain the following values:
|
| Reply to message | [Number] Specify the ID of the message to reply to |
| Message thread | [Number/Text] Specify the ID of the thread to which the message should be sent. This allows sending a message to a specific group within a supergroup, as well as to the comment chat for a specific channel message. If you are sending a message to a supergroup, then message_thread_id refers to a specific group within the supergroup. If you are writing a comment for a message in a channel, then message_thread_id refers to the comment thread for a specific channel message. This identifier can be obtained using the "Client. Get Message Thread ID" block. |
| File name | [Text] The name and path of the file to be sent. You can enter the full file name including the path. |
| Title | [Text] Optionally, you can specify a title for the file. |
| Disable notification | When enabled, the delivery notification will not be sent. |
| Disable preview | When enabled, link previews are disabled. |
| HTML formatting | When enabled, you can use formatting in the text using HTML tags. For example: <b>Bold text</b>. |
| Number of attempts | [Number] The number of attempts in case of a connection error with the server. |
| Message | [Link] Returns the object of the sent message. 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 message level 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. |