export Function
LoginUrl ​
Constructor ​
ts
KeyboardButton.LoginUrl( text, login_url )| Parameter | Type | Description |
|---|---|---|
text | string | Label text on the button. |
login_url | LoginUrl | HTTPS URL used to automatically authorize the user. Can be used as a replacement for the Telegram Login Widget. |
Return: KeyboardButtonPayload