Telegram: posztolási szabályok és beállítások
Mit fogad el a Telegram csatorna a Postyban: média, korlátok, kötelező mezők, és a settings objektum mezői az API-hoz.
Basics
telegramPost types
The same channel accepts more than one kind of post, and each kind has different requirements. The table shows what you need for each.
| Type | Media | Notes |
|---|---|---|
| Message | optional | Our bot has to be an administrator in the channel or the group. |
Rules
- Telegram has no platform-specific settings. The __type field is enough in the settings object.
- To connect, you have to add the Posty bot to the channel or group, with admin rights.
Settings fields
The settings object only needs the __type field. The editor does not show a separate settings section for this channel.
Examples
Each example is one item in the POST /public/v1/posts request's posts array. The envelope around it is always this:
{
"type": "schedule",
"date": "2026-09-15T09:00:00.000Z",
"shortLink": false,
"posts": [ /* az alábbi elem */ ]
}Message to the channel
{
"integration": { "id": "<telegram-csatorna>" },
"value": [{ "content": "<p>Friss hír a csatornán.</p>", "image": [] }],
"settings": { "__type": "telegram" }
}The channel ID comes from the channel list, and the path values for images and videos from media upload. The exact schema for the connected account comes from the settings schema endpoint. From the command line, the same thing is the --settings flag. See the CLI examples.