Interface InlineKeyboardButtonTypeLoginUrl

A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo. Subtype of InlineKeyboardButtonType.

interface InlineKeyboardButtonTypeLoginUrl {
    @type: "inlineKeyboardButtonTypeLoginUrl";
    forward_text: string;
    id: number;
    url: string;
}

Properties

@type: "inlineKeyboardButtonTypeLoginUrl"
forward_text: string

If non-empty, new text of the button in forwarded messages.

id: number

Unique button identifier.

url: string

An HTTP URL to pass to getLoginUrlInfo.