Telegram
A Telegram bot is an account just like a Page. Everyone who starts a chat with it becomes a conversation in the same API, events and inbox. It's private chats only, so group and channel messages are not received.
Connecting
Create the bot with @BotFather, then paste its token in Connections → Connect a Telegram bot. When the platform runs on a public HTTPS address it sets up a webhook with a secret of its own for each bot. On a development machine it fetches messages every so often instead.
How it differs from Messenger and WhatsApp
- There's no 24-hour window, so canReply is always true and replyWindowEndsAt is null. The bot may reply any time to someone who started it.
- No templates, and Telegram does not charge per message.
- The Bot API has no delivered or read receipts, so a message stays sent once accepted.
- A bot can't write first to someone who never started it. If the customer blocks it, sending fails with telegram_blocked.
Sending and files
POST /api/v1/conversations/{id}/messages { "text": "..." }
POST /api/v1/conversations/{id}/messages { "image": { "source": "url", "url": "https://..." } }
GET /api/v1/messages/{messageId}/attachments/{index}
Incoming pictures and files come with a platformMediaId and are downloaded from the attachments link above (up to 20 MB, Telegram's limit for bots).