interface UrlButton {
    text: string;
    url: string;
}

Hierarchy (view full)

Properties

Properties

text: string

Label text on the button

url: string

HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings.