Telegram
Bot posting to channels, groups and private chats, with an inbox and a command menu.
Telegram works through our bot: it posts into the chat you connect, and messages sent to it in that chat land in your inbox.
Connecting
Connect with a one-time code, so there is no chat ID to look up.
- Open Connections → Telegram and choose Connect with Code.
- Send the command shown,
/connect <code>, in the chat you want to connect:- Private chat: tap Open Private Chat, which opens the bot with the code filled in.
- Group: tap Add to Group, pick the group, and the code goes with it. Only a group admin can connect a group. Make the bot an admin if it should post.
- Channel: add the bot as an admin with permission to post, then post the command in the channel. The bot removes the command message once it has read it.
- The dialog closes once the chat is connected. The code works once and expires after 15 minutes.
A public channel can still be connected by its @username from the same dialog.
Over the API, POST /v1/accounts/telegram/connect-code returns the code and both links, and GET /v1/accounts/telegram/connect-code/status?code=<code> reports pending, connected (with the account ID), failed (with a reason) or expired.
What you can publish
| Limit | Value |
|---|---|
| Text message | 4,096 characters |
| Caption with media | 1,024 characters: the caption limit governs the moment media rides along |
| Media per post | Up to 10 photos or videos, as an album |
| Photo size | 10 MB |
| Video size | MP4, up to 50 MB |
Posts render with formatting: a bold title, the body, a Read more link when the post has one, and hashtags. One photo or video sends as a single captioned message; several send as an album with the caption on the first item.
Per post you can send silently (no notification sound) and protect content (no forwarding or saving), the same options Telegram offers.
Inbox
Messages sent to the bot in a connected private chat or group appear in Inbox → Messages, and your reply is sent back into the chat as a reply to that message. Replies carry text only.
In groups, Telegram only passes the bot commands, replies to its own messages and messages that mention it, unless the group makes the bot an admin. Channels have no inbox.
Photos, files and voice notes show as a message without their content, since the bot cannot share those files outside Telegram.
Bot commands
The account drawer in Connections has a Bot Commands editor for private chats and groups: the menu Telegram shows when someone types / in that chat. Up to 100 commands, each 1 to 32 lowercase letters, digits or underscores, with a description of up to 256 characters. The menu applies to the connected chat only, and needs a chat connected with a code.
Over the API: GET, PUT and DELETE /v1/accounts/{id}/telegram/commands.
Analytics
The Bot API exposes no per-message metrics, so post analytics are empty; the member count of the channel or group is read back as the follower number.
Deleting
Deleting the post in FoPost deletes the message from the channel.
Next
Related documentation
- Supported Platforms
Every network FoPost publishes to, what each supports, and how each one is delivered.
- Threads
Text, images, video, and carousels on Threads, with follower demographics.
- Bluesky
Posts, threads, video, and analytics on Bluesky, on any PDS, including self-hosted.
- Mastodon
Publish to any Mastodon instance, with visibility controls and the inbox.
- Nostr
Notes and long-form articles published to your own relays.
- MeWe
Text and photo posts to your MeWe profile.
- Pinterest
Image Pins to a board, with impressions, clicks, and saves read back.
- Snapchat
Stories, Saved Stories, and Spotlight on your Public Profile.