Skip to content

Interactive Buttons

A manager can insert buttons directly into the reply text — no code configuration needed, just a simple syntax using double square brackets.

Syntax

text
[[Button label|type:value]]

Buttons without a type are sent as text buttons (reply keyboard):

text
[[Button label]]

Usage Example

text
Choose a convenient way to contact us:
[[Call us|phone:+79001234567]]
[[Open website|url:https://example.com]]
[[Yes, confirm|callback:confirm]]

TIP

Multiple buttons on the same line without a line break are displayed in a single row.

Button Types

TypeDescriptionExample value
urlOpen a link in the browserhttps://example.com
phoneDial a phone number+79001234567
callbackSend callback data to the botconfirm
payPayment button (Telegram only)

A button without a type creates a reply keyboard element with arbitrary text.

Platform Support

Platformurlphonecallback
Telegram+++
VK++
Max++
Website Widget+++
External API+++

INFO

Buttons are automatically removed from the message text before delivery to the client. Inline buttons (url, callback) take priority over reply keyboard buttons.

Released under the MIT License. Site developed by Ilya Lyashchuk.