Layer 231
InlineButtonTypeUrlAuth
Inline button that opens a URL after authorizing the user on the website via Telegram Login.
constructor
inlineButtonTypeUrlAuth#bfd02da2 flags:# fwd_text:flags.0?string url:string button_id:int = InlineButtonType;
Parameters
| Name | Type | Description |
|---|---|---|
| FwdText | flags.0?string | Button text used when the message is forwarded |
| Url | string | URL to open |
| ButtonId | int | Button ID, to pass to messages. request Url Auth |
Returns
InlineButtonTypeGogram Example
// Creating InlineButtonTypeUrlAuth constructor obj := &tg.InlineButtonTypeUrlAuth{ Url: "https://example.com", ButtonId: 42, // Optional fields: // FwdText: "example", }