Skip to content

export Function

LoginUrl ​

Constructor ​

ts
KeyboardButton.LoginUrl( text, login_url )
ParameterTypeDescription
textstringLabel text on the button.
login_urlLoginUrlHTTPS URL used to automatically authorize the user. Can be used as a replacement for the Telegram Login Widget.

Return: KeyboardButtonPayload