Layer 224
constructor
urlAuthResultRequest#f8f8eb1e flags:# request_write_access:flags.0?true request_phone_number:flags.1?true match_codes_first:flags.5?true bot:User domain:string browser:flags.2?string platform:flags.2?string ip:flags.2?string region:flags.2?string match_codes:flags.3?Vector<string> user_id_hint:flags.4?long = UrlAuthResult;

Parameters

Name Type Description
RequestWriteAccess flags.0?true Whether the bot would like to send messages to the user
RequestPhoneNumber flags.1?true
MatchCodesFirst flags.5?true
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.
Browser flags.2?string
Platform flags.2?string
Ip flags.2?string
Region flags.2?string
MatchCodes Vector<string>
UserIdHint flags.4?long

Returns

UrlAuthResult

Gogram Example

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

    // Optional fields:
    // RequestWriteAccess: true,
    // RequestPhoneNumber: true,
    // MatchCodesFirst: true,
    // Browser: "Hello, World!",
    // ... more optional fields
}