Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_encrypted_passport_element Struct Reference

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 * email
 
struct telebot_passport_filefiles
 
int count_files
 
struct telebot_passport_filefront_side
 
struct telebot_passport_filereverse_side
 
struct telebot_passport_fileselfie
 
struct telebot_passport_filetranslation
 
int count_translation
 
char * hash
 

Detailed Description

This object represents one element of the Telegram Passport data.

Member Data Documentation

◆ data

char* telebot_encrypted_passport_element::data

Optional. Base64-encoded encrypted Telegram Passport element data provided by the user.

◆ email

char* telebot_encrypted_passport_element::email

Optional. User's verified email address.

◆ files

struct telebot_passport_file* telebot_encrypted_passport_element::files

Optional. Array of encrypted files with documents provided by the user.

◆ front_side

struct telebot_passport_file* telebot_encrypted_passport_element::front_side

Optional. Encrypted file with the front side of the document.

◆ hash

char* telebot_encrypted_passport_element::hash

Base64-encoded element hash for using in PassportElementErrorUnspecified

◆ phone_number

char* telebot_encrypted_passport_element::phone_number

Optional. User's verified phone number.

◆ reverse_side

struct telebot_passport_file* telebot_encrypted_passport_element::reverse_side

Optional. Encrypted file with the reverse side of the document.

◆ selfie

struct telebot_passport_file* telebot_encrypted_passport_element::selfie

Optional. Encrypted file with the selfie of the user holding a document.

◆ translation

struct telebot_passport_file* telebot_encrypted_passport_element::translation

Optional. Array of encrypted files with translated versions of documents.

◆ type

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".


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