mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
urlAuthResultRequest | Details about the authorization request, for more info click here » | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: urlAuthResultRequest
Details about the authorization request, for more info click here »
Attributes:
Name | Type | Required | Description |
---|---|---|---|
request_write_access | Bool | Optional | Whether the bot would like to send messages to the user |
bot | User | Optional | 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 | Yes | The domain name of the website on which the user will log in. |
Type: UrlAuthResult
Example:
$urlAuthResultRequest = ['_' => 'urlAuthResultRequest', 'request_write_access' => Bool, 'bot' => User, 'domain' => 'string'];