Layer 220
constructor
urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
RequestWriteAccess flags.0?true Whether the bot would like to send messages to the user
Bot User Username of a bot, which will be used for user authorization. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details.
Domain string The domain name of the website on which the user will log in.

Returns

UrlAuthResult

Gogram Example

// Creating UrlAuthResultRequest constructor
obj := &tg.UrlAuthResultRequest{
    Bot: &tg.User{},
    Domain: "...",

    // Optional fields:
    // RequestWriteAccess: true,
}