-
-
Notifications
You must be signed in to change notification settings - Fork 30
Telegram bot token
a-sync edited this page Apr 18, 2022
·
6 revisions
You need a telegram account to acquire one.
- 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 TELEGRAM_BOT_TOKEN
env var to enable telegram bot features.
Set the telegram.chatIds
property for each game server with a list of telegram chat IDs where the telegram bot should post and update the server status message.
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.