Skip to content

Example script for Google Scripts, to send messages to your Telegram bot.

License

Notifications You must be signed in to change notification settings

inspiring71/telegram-bot-gscript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

telegram-bot-gscript

Example script for Google Scripts, to send messages to your Telegram bot.

The script replies to you with your own message, sticker or image. If you try to send another thing it will send "Try another stuff".

Copy the file main.gs in a Google Drive script and publish it as an app (execute as Me and give access to anybody even anonymous).

You will need to create your bot with Botfather in Telegram, take the API key and replace it in main.gs where it says YOUR-API-HERE.

Oh and remember to create a webhook first in Telegram with the URL of your Google Script.

About

Example script for Google Scripts, to send messages to your Telegram bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%