|
Telebot 9.4
Library for Telegram bot API
|
This object represents one element of the Telegram Passport data. More...
#include <telebot-types.h>
Public Attributes | |
| char * | type |
| char * | data |
| char * | phone_number |
| char * | |
| struct telebot_passport_file * | files |
| int | count_files |
| struct telebot_passport_file * | front_side |
| struct telebot_passport_file * | reverse_side |
| struct telebot_passport_file * | selfie |
| struct telebot_passport_file * | translation |
| int | count_translation |
| char * | hash |
This object represents one element of the Telegram Passport data.
| char* telebot_encrypted_passport_element::data |
Optional. Base64-encoded encrypted Telegram Passport element data provided by the user.
| char* telebot_encrypted_passport_element::email |
Optional. User's verified email address.
| struct telebot_passport_file* telebot_encrypted_passport_element::files |
Optional. Array of encrypted files with documents provided by the user.
| struct telebot_passport_file* telebot_encrypted_passport_element::front_side |
Optional. Encrypted file with the front side of the document.
| char* telebot_encrypted_passport_element::hash |
Base64-encoded element hash for using in PassportElementErrorUnspecified
| char* telebot_encrypted_passport_element::phone_number |
Optional. User's verified phone number.
| struct telebot_passport_file* telebot_encrypted_passport_element::reverse_side |
Optional. Encrypted file with the reverse side of the document.
| struct telebot_passport_file* telebot_encrypted_passport_element::selfie |
Optional. Encrypted file with the selfie of the user holding a document.
| struct telebot_passport_file* telebot_encrypted_passport_element::translation |
Optional. Array of encrypted files with translated versions of documents.
| char* telebot_encrypted_passport_element::type |
Element type. One of "personal_details", "passport", "internal_passport", "driver_license", "id_card", "internal_passport", "address", "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration", "phone_number", "email".