Skip to content
Back to top
View this page

# Credentials

class telegram.Credentials(secure_data, nonce, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  secure_data

    Credentials for encrypted data

    Type:

      `telegram.SecureData`

  nonce

    Bot-specified nonce

    Type:

      `str`

  Available In

  - `telegram.EncryptedCredentials.decrypted_data`

  - `telegram.PassportData.decrypted_credentials`

  classmethod de_json(data, bot=None)

    See `telegram.TelegramObject.de_json()`.