orlovol / deta-tg-bot

Basic example of telegram echo bot with webhook on deta.space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deta-tg-bot

Basic example of Telegram echo bot, using FastAPI, telegram webhooks and deployed to deta.space.

  1. Get Telegram bot token from @BotFather
  2. Deploy to deta with space push (no local dev)
  3. Set token in app configuration on Deta
  4. Invoke /setup once to set the webhook url
  5. Write something to bot, get samething in return

About

Basic example of telegram echo bot with webhook on deta.space


Languages

Language:Python 100.0%