Telegram
Connect your Telegram bot to schedule messages to channels and groups.
How It Works
PostRite connects to Telegram through a bot. You create a bot, add it to your channels or groups, and PostRite uses it to post your scheduled messages.
Creating a Telegram Bot
- Open Telegram and search for @BotFather
- Send the
/newbotcommand - Follow the prompts to name your bot
- Copy the API token BotFather gives you
Keep Your Token Secret
Never share your bot token publicly. Anyone with the token can control your bot.
Setting Up Your Bot
For Channels
- Go to your Telegram channel
- Open channel settings → Administrators
- Add your bot as an administrator
- Grant Post Messages permission
For Groups
- Add your bot to the group
- Make the bot an administrator (optional, but recommended)
- If the group is a supergroup, ensure the bot has permission to post
Connecting to PostRite
- Create a Telegram bot (see above)
- Go to the Connected accounts page in PostRite
- Click Connect on the Telegram card
- Paste your bot token and click Check token
- Click Add @yourbot to a channel: Telegram opens a list of your channels with posting permission already selected. Pick the channel and confirm. If the bot was already an administrator of that channel, it keeps only the permission to post: any other permissions it had are removed.
- Back in PostRite, click Find my channel and select it in the list
- Click Connect Channel to save
Channel not listed?
PostRite reads the bot's recent updates to find the channels it was just made an administrator of. If yours does not appear (the bot sends its updates to a webhook, another program reads them, or you added the bot more than 24 hours ago), type the channel instead: @channelname for a public channel, or the numeric ID of a private one, which starts with -100. For a group, make the bot an administrator in the group's settings, then click Find my channel.
Supported Features
- Text messages up to 4,096 characters (1,024 for the caption of an image or video)
- HTML and Markdown formatting
- Images with captions (up to 5 MB)
- Videos with captions (up to 20 MB)
- Albums of up to 10 photos and videos mixed
- Documents and files (up to 20 MB)
- Scheduled posting
- Silent messages (no notification)
- Link preview on or off per post
Message Formatting
Telegram supports HTML formatting:
| Format | HTML |
|---|---|
| Bold | <b>text</b> |
| Italic | <i>text</i> |
| Underline | <u>text</u> |
| Strikethrough | <s>text</s> |
| Code | <code>text</code> |
| Link | <a href="url">text</a> |
Best Practices
- Consistent posting: Regular content keeps subscribers engaged
- Use formatting: Bold and links make messages more scannable
- Media content: Images and videos get more engagement
- Silent option: Use for non-urgent updates to respect subscribers
Troubleshooting
Bot can't post
When publishing fails, PostRite shows the specific reason on the failed post (e.g. bot removed from the channel, chat not found, or invalid bot token). Common causes:
- Make sure the bot is an admin in the channel
- Check that the bot has the "Post Messages" permission
- Verify the chat ID is correct
- Make sure the bot token is valid
- Bot kicked or blocked: if the bot was removed from the channel, re-add it as an administrator and retry the post
- Flood limits: Telegram rate-limits bots that post too fast. PostRite retries automatically and respects the wait time Telegram asks for
Messages not appearing
- Check if channel/group is restricted
- Verify bot hasn't been removed from the group
- Ensure the message doesn't exceed 4,096 characters, or 1,024 when it has an image or a video
Getting the chat ID
- Right after adding the bot, click Find my channel: PostRite lists the channels and groups where the bot is an administrator, with their IDs
- For public channels you can also type @channelname
- Chat IDs of groups start with a minus sign (-), and those of private channels with -100