Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pabluk/serverless-telegram-bot
A basic serverless Telegram bot using Google Cloud Functions
https://github.com/pabluk/serverless-telegram-bot
bot google-cloud-functions python serverless telegram telegram-bot
Last synced: about 6 hours ago
JSON representation
A basic serverless Telegram bot using Google Cloud Functions
- Host: GitHub
- URL: https://github.com/pabluk/serverless-telegram-bot
- Owner: pabluk
- License: mit
- Created: 2018-09-03T16:31:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:16:44.000Z (over 1 year ago)
- Last Synced: 2024-06-12T02:32:30.009Z (5 months ago)
- Topics: bot, google-cloud-functions, python, serverless, telegram, telegram-bot
- Language: Python
- Homepage: https://seminar.io/2018/09/03/building-serverless-telegram-bot/
- Size: 4.88 KB
- Stars: 80
- Watchers: 3
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless Telegram Bot
A basic serverless [Telegram bot](https://core.telegram.org/bots) using [Google Cloud Functions](https://cloud.google.com/functions/).
This bot runs with Python 3.7 and [python-telegram-bot](https://python-telegram-bot.org/).
See https://seminar.io/2018/09/03/building-serverless-telegram-bot/ for more details about this bot.
## Deploy
```
$ gcloud beta functions deploy webhook --set-env-vars "TELEGRAM_TOKEN=000:yyy" --runtime python37 --trigger-http
```## Testing
```
$ pip install -r requirements-test.txt
$ python test_main.py
```