Inherits Function.
Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.
Returns object_ptr<PassportElementsWithErrors>.
Public Fields | |
| int32 | authorization_form_id_ |
| Authorization form identifier. | |
| string | password_ |
| The 2-step verification password of the current user. | |
Public Types | |
| using | ReturnType = object_ptr< passportElementsWithErrors > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| getPassportAuthorizationFormAvailableElements () | |
| getPassportAuthorizationFormAvailableElements (int32 authorization_form_id_, string const &password_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1068700924 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.
Returns object_ptr<PassportElementsWithErrors>.
| getPassportAuthorizationFormAvailableElements | ( | int32 | authorization_form_id_, |
| string const & | password_ | ||
| ) |
Creates a function, which returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form.
Returns object_ptr<PassportElementsWithErrors>.
| [in] | authorization_form_id_ | Authorization form identifier. |
| [in] | password_ | The 2-step verification password of the current user. |
|
finalvirtual |