Connect Telegram
For: Owner
On this page
Patients write to the clinic's own Telegram bot. You create the bot in Telegram, and Porter connects it. It takes about 3 minutes. Only the clinic owner can connect Telegram.
Connect the bot
Press your initial at the top right, choose "Settings" and pick "Integrations". On the Telegram card, press "Connect Telegram". Keep Porter open and do these steps in Telegram on your phone or computer.
- In Telegram, search for @BotFather (with the blue tick) and press Start.
- Send /newbot. Give the bot the clinic's name, then a username that ends in "bot", such as sukjai_dental_bot.
- BotFather replies with a token, a line like 123456789:AA followed by more letters and numbers. Copy it and paste it into "Bot token from BotFather" in Porter. Treat it like a password. Don't send it to anyone else.
- Press "Connect". Porter checks the token with Telegram and starts receiving messages.
- Put the bot's link or QR code where patients look: the clinic's website, Facebook Page or reception desk.
When it works, Porter says "Telegram is connected." and shows the bot's link, such as t.me/sukjai_dental_bot, with a "Copy link" button and a QR code to print. Press "Done", and the Telegram card shows "Working". Porter stores the token encrypted and never shows it again.
Changing the bot later
Use BotFather to change the bot's name, picture or description. Send /mybots, choose the bot and pick what to edit. Porter keeps working, because the token stays the same.
If Porter created your clinic's bot, ask Porter support to change it.
If the token leaks
Anyone with the token can read and send the bot's messages. If someone else sees it:
- In BotFather, send /revoke and choose the clinic's bot. The old token stops working at once, and Telegram replies stop going out.
- In BotFather, send /token and choose the bot to get a new one, if /revoke didn't already show it.
- In Porter, open "Integrations", press "Reconnect Telegram" on the Telegram card and paste the new token.
The clinic keeps all its Telegram chats. The same steps fix a card that says "Not working" because Telegram stopped accepting the bot's token.
Something went wrong
- "That doesn't look like a bot token." Copy the whole token from BotFather's message, including the numbers before the colon.
- "Telegram didn't accept this token." The token was revoked or mistyped. In BotFather, send /token, choose the bot and copy the new token.
- "This token is for a different bot." Reconnect takes a new token for the same bot only. In BotFather, send /token, choose the clinic's bot and paste its new token. If Porter created the clinic's bot, ask Porter support.
- "This bot is connected to another Porter clinic." One bot can serve one clinic. Create a new bot for this clinic, or contact Porter support if this is a mistake.
- "This bot is being connected right now." Someone else is connecting the same bot. Wait a minute and try again.
- "Couldn't reach Telegram." Nothing was saved. Try again in a minute.
- "Too many tries." Wait the minutes Porter shows, then try again.
Receptionists see the Telegram card but no button. They are asked to have the clinic owner connect it.
See Telegram for how patients find the bot and how replies work.