Skip to content

Commit

Permalink
Mention Telegram Bot API token in README
Browse files Browse the repository at this point in the history
If you host your own bot on Deno Deploy, you should define the
environment variable TELEGRAM_BOT_PROD_TOKEN to provide the Telegram Bot
API token to the bot.
  • Loading branch information
ikelax committed Jan 7, 2025
1 parent e22aff8 commit a7e875d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ directly.
Follow the [guide in grammY documentation](https://grammy.dev/hosting/deno-deploy)
for Deno Deploy. It is free.

In the settings of your project, you have to [define the environment variable](https://docs.deno.com/deploy/manual/environment-variables/) `TELEGRAM_BOT_PROD_TOKEN` to provide the Telegram Bot API token to the bot.

You have to enable the inline mode for the bot. How to do this is described [in the grammY documentation](https://grammy.dev/plugins/inline-query#enabling-inline-mode).

If you need help, feel free to reach out, for example by opening an issue.
Expand Down

0 comments on commit a7e875d

Please sign in to comment.