Skip to main content
Every post to Telegram carries a settings object with "__type": "telegram". Telegram has no other settings. Read the live schema for your channel with Get a channel’s settings.

Fields

The chat is the one the channel was connected to, so a post names no chat of its own. Plain text is sent as it is. For formatting, send HTML: <strong> for bold, <u> for underline and <p> for each paragraph. Other tags are removed and only their text is kept, so italics and link targets are lost. A plain URL in the text still shows as a link in Telegram. What each entry in value becomes depends on its media: Images go out as photos and videos as videos. Any other file goes out as a document. Each extra entry in value is a follow-up, posted after its delay in minutes: the first replies to the post, and each later one replies to the one before it.

What PostQueen checks

A post that breaks one of these rules is refused with 400 before it is scheduled: The error body names the channel and the rule:
Telegram’s own rules are not checked first: Telegram fetches each file from its link and accepts photos up to 5 MB and other files up to 20 MB, and it can refuse an album that mixes photos and documents.

Examples

Send each body to create a post. Replace YOUR_CHANNEL_ID with the channel’s id from list channels, and each media id and path with the values upload a file returns.
In the first example, the second entry in value is posted an hour after the message, as a reply to it.
Last modified on September 24, 2026