Credentials¶ class telegram.Credentials(secure_data, nonce, *, api_kwargs=None)[source]¶ Bases: telegram.TelegramObject secure_data[source]¶ Credentials for encrypted data Type: telegram.SecureData nonce[source]¶ Bot-specified nonce Type: str Available In telegram.EncryptedCredentials.data telegram.EncryptedCredentials.decrypted_data telegram.PassportData.decrypted_credentials classmethod de_json(data, bot=None)[source]¶ See telegram.TelegramObject.de_json().