HandbookGetting started

Formatting & buttons

1 commandGetting startedOpen in Telegram

Everything you write through Marina (notes, filters, welcomes, rules, recurring messages and /say posts) can be dressed up. You can type the syntax below, use your Telegram app's own formatting menu, or skip the syntax altogether and build the message in the message editor.

Text styles#

*bold* or **bold**bold
_italic_italic
__underline__underlined
~strike~struck through
||spoiler||hidden until tapped
`code`monospace
```code block```a block of code; a language after the backticks adds highlighting
> quoted wordsa quote; several lines in a row form one
**> long quote||a quote readers tap to unfold

A link inside the text: [my website](example.com).

A button under the message: [Open site](buttonurl://example.com). Every button starts a new row; add :same at the end of the address to put it next to the previous one.

[Docs](buttonurl://example.com/docs) [Blog](buttonurl://example.com/blog:same) [Support](buttonurl#success://t.me/example)

Buttons can be coloured: buttonurl#primary:// is blue, #success green and #danger red. A note button opens one of the group's notes: [FAQ](buttonurl://#faq). And {rules} adds a Rules button ({rules:same} keeps it on the same row).

Fillings#

{first} {last} {fullname}the reader's name
{username}their @username, or a mention if they have none
{mention}their name as a tappable mention
{id}their user id
{chatname}the group's title
{rules}a button to the rules

Delivery options#

{preview}show the link preview ({preview:top} puts it above the text)
{nonotif}send without a notification
{protect}stop forwarding and saving
{mediaspoiler}blur the attached photo or video
{admin} {user}notes and filters: only admins, or only members
{private} {noprivate}notes: always in private, or always in the group
{allow_bot} {replytag}filters: bots may trigger it; answer the replied message

Random replies#

Put a line holding only %%% between versions, and Marina picks one at random each time:

/setwelcome Hi {first}, glad you found us! %%% {first} just walked in. Say hello, everyone! %%% Welcome aboard, {first}!

Rich messages#

Reply to a rich message (Telegram Premium) with /save, /filter, /setwelcome, /setrules, /repeat, /say or /permapin, and Marina keeps it whole: tables, lists and media. Fillings and buttons written inside still work.

Showing a symbol as it is#

Put a backslash in front: \* shows a plain asterisk.

Commands#

/markdownhelp [topic]
This guide inside Telegram, or one topic of it. Also /formatting.