/telegram-bot-template

Telegram bot template using GrammY and Cloudflare Workers deploy

Primary LanguageTypeScriptMIT LicenseMIT

ENV variables

Required:

  • TELEGRAM_TOKEN - telegram bot token
  • CLOUDFLARE_ACCOUNT_ID Set to the Cloudflare account ID for the account on which you want to deploy your Worker. How to find account ID.
  • CLOUDFLARE_API_TOKEN See how to create

Optional:

  • HOST - deployed host url, for local development (e.g. bot.example.org)