CodeSettings
- class pyrogram.raw.base.CodeSettings
Settings for the code type to send
- Constructors:
This base type has 1 constructor available.
Settings used by telegram servers for sending the confirm code.
TL Schema
codeSettings#ad253d78
flags:#
allow_flashcall:flags.0?true
current_number:flags.1?true
allow_app_hash:flags.4?true
allow_missed_call:flags.5?true
allow_firebase:flags.7?true
unknown_number:flags.9?true
logout_tokens:flags.6?Vector<bytes>
token:flags.8?string
app_sandbox:flags.8?Bool
= CodeSettings
Parameter Tree
CodeSettings
├── allow_flashcall →
true (optional)├── current_number →
true (optional)├── allow_app_hash →
true (optional)├── allow_missed_call →
true (optional)├── allow_firebase →
true (optional)├── unknown_number →
true (optional)├── logout_tokens →
Vector < bytes > (optional)├── token →
string (optional)└── app_sandbox →
Bool (optional)Example
CodeSettings(
allow_flashcall=None,
current_number=None,
allow_app_hash=None,
allow_missed_call=None,
allow_firebase=None,
unknown_number=None,
logout_tokens=[b"data"],
token="text",
app_sandbox=None,
)