Layer 231
constructor
inputInlineButtonTypeUrlAuth#9961bcb4 flags:# request_write_access:flags.0?true fwd_text:flags.1?string url:string bot:flags.2?InputUser = InlineButtonType;

Parameters

Name Type Description
RequestWriteAccess flags.0?true Whether to request permission for the bot to send messages to the user
FwdText flags.1?string Button text used when the message is forwarded
Url string URL to open
Bot flags.2?InputUser Bot that will be used to authorize the user on the website

Gogram Example

// Creating InputInlineButtonTypeUrlAuth constructor
obj := &tg.InputInlineButtonTypeUrlAuth{
    Url: "https://example.com",

    // Optional fields:
    // RequestWriteAccess: true,
    // FwdText: "example",
    // Bot: &tg.InputUserSelf{},
}