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: 194

  • ID: 9FD736

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 »

  • play_integrity_project_id (int 64-bit, optional) – N/A

  • play_integrity_nonce (bytes, optional)

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