tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateNewOauthRequest Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateNewOauthRequest:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateNewOauthRequest ()
 
 updateNewOauthRequest (string const &domain_, string const &location_, string const &url_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

string domain_
 A domain of the URL where the user authorizes.
 
string location_
 Human-readable description of a country and a region from which the authorization is performed, based on the IP address.
 
string url_
 The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds.
 

Static Public Attributes

static const std::int32_t ID = 248383005
 Identifier uniquely determining a type of the object.
 

Detailed Description

An OAuth authorization request was received.

Definition at line 79180 of file td_api.h.

Constructor & Destructor Documentation

◆ updateNewOauthRequest() [1/2]

td::td_api::updateNewOauthRequest::updateNewOauthRequest ( )

An OAuth authorization request was received.

◆ updateNewOauthRequest() [2/2]

td::td_api::updateNewOauthRequest::updateNewOauthRequest ( string const &  domain_,
string const &  location_,
string const &  url_ 
)

An OAuth authorization request was received.

Parameters
[in]domain_A domain of the URL where the user authorizes.
[in]location_Human-readable description of a country and a region from which the authorization is performed, based on the IP address.
[in]url_The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds.

Member Function Documentation

◆ store()

void td::td_api::updateNewOauthRequest::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ domain_

string td::td_api::updateNewOauthRequest::domain_

A domain of the URL where the user authorizes.

Definition at line 79191 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateNewOauthRequest::ID = 248383005
static

Identifier uniquely determining a type of the object.

Definition at line 79212 of file td_api.h.

◆ location_

string td::td_api::updateNewOauthRequest::location_

Human-readable description of a country and a region from which the authorization is performed, based on the IP address.

Definition at line 79193 of file td_api.h.

◆ url_

string td::td_api::updateNewOauthRequest::url_

The URL to pass to getOauthLinkInfo; the link is valid for 60 seconds.

Definition at line 79195 of file td_api.h.


The documentation for this class was generated from the following file: