Create a Result block.
Click Set up variables in the block in the Variables field.
Add the following variables:
Create a Request block.
Click Open request editor in the block in the Request field.
Click the cURL tab.
Paste the following code:
curl 'https://api.telegram.org/bot{bot_id}/sendPhoto'
-X 'POST'
-H 'Content-Type: application/json'
--data-raw '{"photo":"{photo}","caption":"{caption}","chat_id":"{chat_id}"}
Press Save.
Save the script and test the bot's performance. It should work:
