/deta-tg-bot

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

Primary LanguagePython

Warning

This repo is archived since deta.space is set to sunset on October 17, 2024.

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