auth.SentCodeTypeFirebaseSms¶
- class hydrogram.raw.types.auth.SentCodeTypeFirebaseSms[source]¶
An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».
Constructor of
SentCodeType.- Details:
Layer:
181ID:
13C90F17
- Parameters:
length (
int32-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_nonce (
bytes, optional)receipt (
str, optional) – On iOS, must be compared with the receipt extracted from the received push notification.push_timeout (
int32-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.