Telegram integration for scrypted
npm install @apocaliss92/scrypted-telegramSetup a device providing a bot token and an chat id
1. Get Your Bot Token
1. Open Telegram and search for @BotFather
2. Start a chat and type /newbot
3. Follow the prompts to choose a name and username for your bot
4. After creation, BotFather will give you a token like:
2. Get Your Chat ID
1. Start a chat with your bot on Telegram (just send it a message)
2. Open this URL in your browser (replace YOUR_BOT_TOKEN):
https://api.telegram.org/botYOUR_BOT_TOKEN/getUpdates
3. Look for a response like this:
"chat": {
"id": 123456789,
"first_name": "YourName",
...
}