Information about the OAuth authorization.
|
| | oauthLinkInfo () |
| | oauthLinkInfo (int53 user_id_, string const &url_, string const &domain_, bool from_app_, string const &verified_app_name_, int53 bot_user_id_, bool request_write_access_, bool request_phone_number_access_, string const &browser_, string const &platform_, string const &ip_address_, string const &location_, bool match_code_first_, array< string > &&match_codes_) |
| void | store (TlStorerToString &s, const char *field_name) const final |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
int53 | bot_user_id_ |
| | User identifier of a bot linked with the website.
|
|
string | browser_ |
| | The version of a browser used for the authorization.
|
|
string | domain_ |
| | A domain of the URL.
|
|
bool | from_app_ |
| | True, if the authorization originates from an application.
|
|
string | ip_address_ |
| | IP address from which the authorization is performed, in human-readable format.
|
|
string | location_ |
| | Human-readable description of a country and a region from which the authorization is performed, based on the IP address.
|
|
bool | match_code_first_ |
| | True, if code matching dialog must be shown first and checkOauthRequestMatchCode must be called before acceptOauthRequest. Otherwise, checkOauthRequestMatchCode must not be called.
|
|
array< string > | match_codes_ |
| | The list of codes to match; may be empty if irrelevant.
|
|
string | platform_ |
| | Operating system the browser is running on.
|
|
bool | request_phone_number_access_ |
| | True, if the user must be asked for the permission to share their phone number.
|
|
bool | request_write_access_ |
| | True, if the user must be asked for the permission to the bot to send them messages.
|
|
string | url_ |
| | An HTTP URL where the user authorizes.
|
|
int53 | user_id_ |
| | Identifier of the user for which the link was generated; may be 0 if unknown. The corresponding user may be unknown. If the user is logged in the application, then they must be chosen for authorization by default.
|
|
string | verified_app_name_ |
| | Verified name of the application; if empty, then "Unverified App" must be shown instead.
|