Use this to accept a Seamless Telegram Login authorization request, for more info click here »
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;
urlAuthResultAccepted#623a8fa0 flags:# url:flags.0?string = UrlAuthResult;
urlAuthResultDefault#a9d6db1f = UrlAuthResult;
---functions---
messages.acceptUrlAuth#67a3f0de flags:# write_allowed:flags.0?true share_phone_number:flags.3?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string match_code:flags.4?string = UrlAuthResult;
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| write_allowed | flags.0?true | Set this flag to allow the bot to send messages to you (if requested) |
| share_phone_number | flags.3?true | |
| peer | flags.1?InputPeer | The location of the message |
| msg_id | flags.1?int | Message ID of the message with the login button |
| button_id | flags.1?int | ID of the login button |
| url | flags.2?string | URL used for link URL authorization, click here for more info » |
| match_code | flags.4?string |
Handle Seamless Telegram Login URL authorization requests.