Telegram: your own bot
FoxNode talks to Telegram through a bot of your own. Messages arrive in a second or two, with no FoxNode server in between.
Make the bot
- In FoxNode, open Accounts → Telegram → Open @BotFather. Send it
/newbot, pick a name and a username ending inbot, and copy the token it gives you. - Paste the token and choose Add Telegram bot. It's kept only in your keychain.
Link my phone
- On the bot's card, click Link my phone.
- Open the bot on your phone (or click Open @your_bot) and press Start.
- FoxNode shows who pressed it. Click Yes, that's me, and the bot says hello.
Notify my phone now reaches that chat. It only reaches you, so it doesn't ask first unless you switch that on.
Good to know
- Anyone who finds your bot can write to it. The “New message to the bot” trigger only fires for your messages unless you choose Anyone.
- Only one program can read a bot's messages. Give each copy of FoxNode its own bot.
- Sign out forgets the token. To stop it working, send
/tokento @BotFather for a new one.