Telegram Bots
Automated stock announcements
Telegram bots are available on Pro and Enterprise. Each one uses a bot you create with @BotFather, so messages carry your name. Set them up in Settings > Telegram Bot.
The bots
- Owner Bot: notifications in your private chat about sales and low stock.
- Channel Bot: announces restocks to your public channel, using your own message template (placeholders and basic HTML are supported; leave it empty for the default).
- Manager Bot: manage the shop from a group with commands such as /getinvoice <order_id>, /getbal <email>, /addbal <email> <amount> and /rembal <email> <amount>. Every command is logged in the group, with timestamps in the time zone you choose.
- Tickets Bot: answer support tickets with /tickets, /ticket <id>, /reply <id> <message>, /resolve <id> and /deny <id>. /replace <id> confirm and /credit <id> <amount> confirm need the confirm word.
- Store Bot (customers): a customer-facing bot. Shoppers browse your products, get live quotes, pay with their store balance in the chat or receive a crypto invoice link, and check their orders and balance. Customers link their account with a single-use code from their Account page. Use a different bot for it than for your other Shoplio bots.
Setup
- In Telegram, message @BotFather, create a bot and copy the token.
- Paste the token into the bot's section in Settings > Telegram Bot.
- Message your bot; it replies with your chat ID. For the Manager Bot, add it to a group and send /start to get the group ID. For the Channel Bot, add the bot to your channel with permission to post.
- Paste the ID, enable the bot, and use the Test button to verify the connection.
Saved tokens are not shown again; enter a new token to replace one.
If a paid plan lapses: after a 24-hour grace period the Owner, Channel, Manager and Tickets bots are switched off. Paying for the plan again switches back on the ones that were enabled.
Common problems
- No test message arrives: check the token, that you messaged the bot first, and the chat or channel ID.
- The channel bot cannot post: make it an administrator of the channel.