Skip to content
a-sync edited this page Aug 22, 2023 · 6 revisions

How to get it

  1. talk to @BotFather
  2. use /newbot and follow the instructions
  3. at the end of the process you should see the token
    botfather

You can use /revoke when talking to @BotFather to invalidate your token at anytime.

Environmental variables

Set your token as the value of the TELEGRAM_BOT_TOKEN env var to enable telegram bot features.

GSW Control Panel options

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.