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

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

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

Public Member Functions

 passportSuitableElement ()
 
 passportSuitableElement (object_ptr< PassportElementType > &&type_, bool is_selfie_required_, bool is_translation_required_, bool is_native_name_required_)
 
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 the element.
 
bool is_selfie_required_
 True, if a selfie is required with the identity document.
 
bool is_translation_required_
 True, if a certified English translation is required with the document.
 
bool is_native_name_required_
 True, if personal details must include the user&#x27;s name in the language of their country of residence.
 

Static Public Attributes

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

Detailed Description

Contains information about a Telegram Passport element that was requested by a service.

Definition at line 50913 of file td_api.h.

Constructor & Destructor Documentation

◆ passportSuitableElement() [1/2]

td::td_api::passportSuitableElement::passportSuitableElement ( )

Contains information about a Telegram Passport element that was requested by a service.

◆ passportSuitableElement() [2/2]

td::td_api::passportSuitableElement::passportSuitableElement ( object_ptr< PassportElementType > &&  type_,
bool  is_selfie_required_,
bool  is_translation_required_,
bool  is_native_name_required_ 
)

Contains information about a Telegram Passport element that was requested by a service.

Parameters
[in]type_Type of the element.
[in]is_selfie_required_True, if a selfie is required with the identity document.
[in]is_translation_required_True, if a certified English translation is required with the document.
[in]is_native_name_required_True, if personal details must include the user&#x27;s name in the language of their country of residence.

Member Function Documentation

◆ store()

void td::td_api::passportSuitableElement::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::passportSuitableElement::ID = -789019876
static

Identifier uniquely determining a type of the object.

Definition at line 50948 of file td_api.h.

◆ is_native_name_required_

bool td::td_api::passportSuitableElement::is_native_name_required_

True, if personal details must include the user&#x27;s name in the language of their country of residence.

Definition at line 50930 of file td_api.h.

◆ is_selfie_required_

bool td::td_api::passportSuitableElement::is_selfie_required_

True, if a selfie is required with the identity document.

Definition at line 50926 of file td_api.h.

◆ is_translation_required_

bool td::td_api::passportSuitableElement::is_translation_required_

True, if a certified English translation is required with the document.

Definition at line 50928 of file td_api.h.

◆ type_

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

Type of the element.

Definition at line 50924 of file td_api.h.


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