Skip to main content
Telegram has no developer app for users to sign in to. Posts go out through a bot. You create one bot for the whole site with @BotFather, and users can bring a bot of their own if you allow it. Users link their Telegram account, add the bot to the channels and groups they run, and each chat becomes a channel in MagicPost.

Set up Telegram

Create the bot, save its token and connect your first chat.

How it fits together

The label under a channel’s name, Channel or Group, says which kind of chat it is.

Post types and limits

Telegram has one post type, Message. Text goes out exactly as typed, with no formatting, so write plain text. One file goes out as one message. Two to ten files go out as an album, with the text as the caption of the first. In the composer, the options sit in the Settings for card of each Telegram channel. Forum topic appears only for a group with topics: enter the number at the end of the topic’s link, or leave it blank to post in General.
Posts to Telegram are sent by the queue, so the scheduler has to be running. See Cron and queue.

First comment

A first comment is posted as a reply right after the post.
  • Groups. The comment replies to the post.
  • Channels. Telegram copies each channel post into the channel’s linked discussion group, and the comment replies to that copy. This needs a discussion group linked to the channel with the bot as an admin in it. Without one, the First comment box is not offered for that channel.
If a comment fails, the post stays published, and its page says “The first comment was not posted:” followed by the reason.

Analytics

Telegram does not tell a bot how often a post was viewed, forwarded or clicked, so MagicPost does not show those figures. It shows what the bot is told:
  • Reactions on the post, and Replies in a group or Comments in a channel.
  • Subscribers, the chat’s member count, read every hour.
Reactions are counted only while the bot is an admin of the chat, and comments on a channel’s posts only while it is an admin of the discussion group. See Analytics.