auth.RequestFirebaseSms
- class pyrogram.raw.functions.auth.RequestFirebaseSms
Request an SMS code via Firebase.
- Details:
Layer:
223ID:
8E39261E
- Parameters:
phone_number (
str) – Phone numberphone_code_hash (
str) – Phone code hash returned by auth.sendCodesafety_net_token (
str, optional) – On Android, a JWS object obtained as described in the auth documentation »play_integrity_token (
str, optional) – On Android, an object obtained as described in the auth documentation »ios_push_secret (
str, optional) – Secret token received via an apple push notification
- Returns:
bool
TL Schema
auth.requestFirebaseSms#8e39261e
flags:#
phone_number:string
phone_code_hash:string
safety_net_token:flags.0?string
play_integrity_token:flags.2?string
ios_push_secret:flags.1?string
= Bool
Parameter Tree
RequestFirebaseSms
├── phone_number →
string├── phone_code_hash →
string├── safety_net_token →
string (optional)├── play_integrity_token →
string (optional)└── ios_push_secret →
string (optional)Example
await app.invoke(
RequestFirebaseSms(
phone_number="text",
phone_code_hash="text",
safety_net_token="text",
play_integrity_token="text",
ios_push_secret="text",
)
)