-
-
Notifications
You must be signed in to change notification settings - Fork 28
Telegram bot token
a-sync edited this page Aug 22, 2023
·
6 revisions
- talk to @BotFather
- use
/newbot
and follow the instructions - at the end of the process you should see the token
You can use /revoke
when talking to @BotFather to invalidate your token at anytime.
Set your token as the value of the TELEGRAM_BOT_TOKEN
env var to enable telegram bot features.
Each server can have multiple chats to post and update the server status message to. The chats are identified by the chat ID.
The simplest way to get a telegram chat ID is to invite @getidsbot and use /start
to make it post (among other data) the chat ID.