使用Telegram bot 连接 binance-trade-bot 的说明,包含获取token,获取bot id

Telegram bot setup guide
Binance Trade Bot’s apprise.yml file needs to be correctly set up in order for Binance Trade Bot Manager Telegram to work.

Create an apprise.yml file inside Binance Trade Bot’s config directory.

Copy the contents of apprise_example.yml into it.

On Telegram, talk to @botfather and create a bot.
It will send you your Telegram bot token.

On Telegram, talk to @userinfobot.
It will send you some information among which your Telegram chat_id.

Inside your apprise.yml file delete the # character from the # – tgram://TOKEN/CHAT_ID line.
Replace TOKEN and CHAT_ID with your token and chat_id.

After these steps if your token was 123:abc and your chat_id was 1337 your apprise.yml file should look like this:

version: 1
urls:
  - tgram://123:abc/1337

Note:
Binance Trade Bot Manager Telegram also supports usage of a group chat id instead of a personal chat_id.

trade bot
https://github.com/edeng23/binance-trade-bot
https://github.com/lorcalhost/BTB-manager-telegram
https://github.com/lorcalhost/BTB-manager-telegram/blob/main/docs/telegram-setup.md

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

53 − = 50