【英文】Twikoo配置TelegramBot用作即时通知推送
Preface
Twikoo configures TelegramBot for real-time notification push pushoo.js
using Pusher.
Preparation
- Create a TelegramBot and obtain
Api Key
(0000000000:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
).
Main text
- Get the conversation ID by concatenating the link containing
Api Key
(result[0].message.chat.id
).
1 | https://api.telegram.org/bot0000000000:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/getUpdates |
- Open the configuration panel in Twikoo->
Instant notification
.
PUSHOO_CHANNEL:
telegram
PUSHOO_TOKEN:0000000000:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx#<chat_id>
<chat_id>
: The conversation ID obtained in the previous step.