This article shows you how to send an image to a Telegram group in Google Apps Script.
To send an image in to a Telegram group from a Google Apps Script, do this:
- First, learn how to send a simple text message on the official site.
- With the above knowledge, you can now download our sample code.
- Locate the file
gas/group-send-telegram-image.gs. - Study the
Google Apps Scriptsource code and customize the TODO/FIXME lines. - Run the function
demoSendTelegramImageToGroupFromDriveto send your image to a Telegram group.
Happy coding :)