This article shows you how to send a PDF file to a Telegram group in Google Apps Script
.
To send a PDF document 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-pdf.gs
. - Study the
Google Apps Script
source code and customize the TODO/FIXME lines. - Run the function
demoSendTelegramImageToGroupFromDrive
to send your PDF file to a Telegram group.
Happy coding :)