Skip to content

Telegram bot implemented as a Python Google Cloud Function with Google Cloud Datastore for data persistence. It demonstrates various bot functionality including location services, inline and markup keyboards, and more.

License

Notifications You must be signed in to change notification settings

tigco/telegram-bot-on-gcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-bot-on-gcp

This Telegram bot is a Google Cloud function. It also uses Google Cloud Datastore. It shows how to use Telegram location services, keyboards, and more.

Installation

  1. Create a telegram bot https://core.telegram.org/bots
  2. Deploy this bot to GCP using the gcloud tool (use --trigger-http type). https://cloud.google.com/functions/docs/deploying/filesystem
  3. Call the setWebHook method in the Bot API via the following url: https://api.telegram.org/bot{my_bot_token}/setWebhook?url={url_to_send_updates_to}. More info here https://core.telegram.org/bots/api#setwebhook

About

Telegram bot implemented as a Python Google Cloud Function with Google Cloud Datastore for data persistence. It demonstrates various bot functionality including location services, inline and markup keyboards, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages