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::inputPassportElementError Class Referencefinal

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

Inheritance diagram for td::td_api::inputPassportElementError:
td::td_api::Object td::TlObject

Public Member Functions

 inputPassportElementError ()
 
 inputPassportElementError (object_ptr< PassportElementType > &&type_, string const &message_, object_ptr< InputPassportElementErrorSource > &&source_)
 
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

object_ptr< PassportElementTypetype_
 Type of Telegram Passport element that has the error.
 
string message_
 Error message.
 
object_ptr< InputPassportElementErrorSourcesource_
 Error source.
 

Static Public Attributes

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

Detailed Description

Contains the description of an error in a Telegram Passport element; for bots only.

Definition at line 30907 of file td_api.h.

Constructor & Destructor Documentation

◆ inputPassportElementError() [1/2]

td::td_api::inputPassportElementError::inputPassportElementError ( )

Contains the description of an error in a Telegram Passport element; for bots only.

◆ inputPassportElementError() [2/2]

td::td_api::inputPassportElementError::inputPassportElementError ( object_ptr< PassportElementType > &&  type_,
string const &  message_,
object_ptr< InputPassportElementErrorSource > &&  source_ 
)

Contains the description of an error in a Telegram Passport element; for bots only.

Parameters
[in]type_Type of Telegram Passport element that has the error.
[in]message_Error message.
[in]source_Error source.

Member Function Documentation

◆ store()

void td::td_api::inputPassportElementError::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

◆ ID

const std::int32_t td::td_api::inputPassportElementError::ID = 285756898
static

Identifier uniquely determining a type of the object.

Definition at line 30939 of file td_api.h.

◆ message_

string td::td_api::inputPassportElementError::message_

Error message.

Definition at line 30920 of file td_api.h.

◆ source_

object_ptr<InputPassportElementErrorSource> td::td_api::inputPassportElementError::source_

Error source.

Definition at line 30922 of file td_api.h.

◆ type_

object_ptr<PassportElementType> td::td_api::inputPassportElementError::type_

Type of Telegram Passport element that has the error.

Definition at line 30918 of file td_api.h.


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