auth.SentCodeTypeFirebaseSms#

class pyrogram.raw.types.auth.SentCodeTypeFirebaseSms#

An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation.

Constructor of SentCodeType.

Details:
  • Layer: 158

  • ID: E57B1432

Parameters:
  • length (int 32-bit) – Length of the code that will be delivered.

  • nonce (bytes, optional) – On Android, the nonce to be used as described in the auth documentation.

  • receipt (str, optional) – On iOS, must be compared with the receipt extracted from the received push notification.

  • push_timeout (int 32-bit, optional) – On iOS: if a push notification with the ios_push_secret isn’t received within push_timeout seconds, the next_type authentication method must be used, with auth.resendCode.