Post formats
General information
You can attach up to 10 posts to one broadcast – they'll be automatically distributed among recipients. To do this, turn on «Multi-posts» in the settings.
Posts are accepted in any format: as is or with HTML and Markdown markup. Some posts can only be sent as a forward:
- posts with premium emoji;
- giveaways;
- premium stickers.
Parts of a post
- Media file (1)
- A photo, video, document, voice message or video message
- Message (2)
- The text of the post. If there's media, the text goes below it
- Keyboard (3)
- The button or buttons under the post
- Forward
- The post is forwarded on behalf of a channel or a user. This lets you track the post's reach or send a message with premium emoji – example
- Notification sound
- Whether the recipient gets a notification with or without sound
- Spoiler
- The media is hidden under a spoiler – to see it you need to tap it, example
- Content protection
- The post can't be forwarded, screenshotted or screen-recorded
- Reaction
- The first reaction to the message – from a limited set, example
Variables
When sending, variables are replaced with each recipient's data:
$full_nameFirst and last name$first_nameFirst name$last_nameLast name$username@username$botThe bot's username without @ – can be used in buttons$idThe user's chat_id – can be used in buttons
If there's no dataIf a user has no @username, $full_name is used instead. Other empty values are replaced with a space, and in chats they're skipped.
Add _self to a variable to make it a clickable link to the recipient, for example $full_name_self.
Unique sentence randomizer
The randomizer picks one of the variants for each recipient, so every message is unique. It can be combined with variables. Variants go in double curly braces separated by «|»:
{{Hi|Hey|Greetings}}. How {{are you|is your mood|are you doing}}?Each recipient gets one of the combinations
Shuffling words and sentences
Shuffling keeps all the variants in the post but changes their order at random. Variants go in double square brackets separated by «|»:
Hi. [[The weather is lovely today.|It rained all day yesterday.]]Both sentences stay, but in random order
Was this article helpful?
Didn't find the answer? Contact support