codeSettings
Signature
Section titled “Signature”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;Result type
Section titled “Result type”CodeSettings
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| allow_flashcall | flags.0?true | flags.0 | — | |
| current_number | flags.1?true | flags.1 | — | |
| allow_app_hash | flags.4?true | flags.4 | — | |
| allow_missed_call | flags.5?true | flags.5 | — | |
| allow_firebase | flags.7?true | flags.7 | — | |
| unknown_number | flags.9?true | flags.9 | — | |
| logout_tokens | flags.6?Vector |
flags.6 | — | |
| token | flags.8?string | flags.8 | — | |
| app_sandbox | flags.8?Bool | flags.8 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| allow_flashcall | 0 | Controlled by flags; present when this bit is set. |
| current_number | 1 | Controlled by flags; present when this bit is set. |
| allow_app_hash | 4 | Controlled by flags; present when this bit is set. |
| allow_missed_call | 5 | Controlled by flags; present when this bit is set. |
| allow_firebase | 7 | Controlled by flags; present when this bit is set. |
| unknown_number | 9 | Controlled by flags; present when this bit is set. |
| logout_tokens | 6 | Controlled by flags; present when this bit is set. |
| token | 8 | Controlled by flags; present when this bit is set. |
| app_sandbox | 8 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import CodeSettingsPublic access: miniproto.raw.types.CodeSettings.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
CodeSettings - Accepted by:
account.sendChangePhoneCode,account.sendConfirmPhoneCode,account.sendVerifyPhoneCode,auth.sendCode