Skip to Content
Lisa Guide
Messages and content

Formatting guide

Make welcome and goodbye messages beautiful. Learn bold, italic, links, buttons, button colours and placeholders.

This formatting works in welcome and goodbye messages. Notes, filters and rules are plain text. Want to try it without typing the codes by hand? Use the Formatting builder. In the bot, send /markdownhelp to see a short version of this page.

Text styles

You typeYou get
*bold*bold
_italic_italic
__underline__underlined text
~strike~strikethrough
||spoiler||hidden text, shown when tapped
`code`code
[text](https://example.com)a link with the words "text"

Names and numbers (placeholders)

{first}, {last}, {fullname}, {mention}, {username}, {id} and {chatname}. See Welcome messages.

Buttons under your message

Write each button on its own line:

[Rules](buttonurl://https://example.com/rules)
[Channel](buttonurl://https://t.me/mychannel)
  • The words in the first brackets are the button label.
  • After buttonurl:// comes the link. Web links and Telegram links are allowed. If you forget https://, the bot adds it. A tg:// link must open a chat, user or invite.
  • A label can be up to 64 characters.
  • Add :same at the end of the link to put the button on the same row as the previous one.
  • You can have up to 8 buttons, 4 per row.
[Channel](buttonurl://https://t.me/mychannel)
[Support](buttonurl://https://t.me/mysupport:same)

Button colours

Add a colour word after the link: :primary (blue), :success (green) or :danger (red). No colour keeps the normal look. You can combine colours with :same.

[Join](buttonurl://https://t.me/mychat:success)
[Rules](buttonurl://https://example.com/rules:danger:same)

A full example

/setwelcome Welcome {mention} to *{chatname}*!
Please read the _rules_.
[Rules](buttonurl://https://example.com/rules)
[Channel](buttonurl://https://t.me/mychannel)
[Support](buttonurl://https://t.me/mysupport:same)

On this page