peyk.platforms.telegram.types.passport_data¶
Classes
|
Describes Telegram Passport data shared with the bot by the user. |
- class peyk.platforms.telegram.types.passport_data.PassportData(data: List[EncryptedPassportElement], credentials: EncryptedCredentials)[source]¶
Bases:
objectDescribes Telegram Passport data shared with the bot by the user.
- Variables:
data (List[peyk.platforms.telegram.types.encrypted_passport_element.EncryptedPassportElement]) – Array with information about documents and other Telegram Passport elements that was shared with the bot
credentials (peyk.platforms.telegram.types.encrypted_credentials.EncryptedCredentials) – Encrypted credentials required to decrypt the data
- data: List[EncryptedPassportElement]¶
- credentials: EncryptedCredentials¶
- classmethod from_dict(data: dict | None) PassportData | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.