Settings used by telegram servers for sending the confirm code.
Example implementations: telegram for android, tdlib.
codeSettings#debebe83 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true = CodeSettings;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
allow_flashcall | flags.0?true | Whether to allow phone verification via phone calls. |
current_number | flags.1?true | Pass true if the phone number is used on the current device. Ignored if allow_flashcall is not set. |
allow_app_hash | flags.4?true | If a token that will be included in eventually sent SMSs is required: required in newer versions of android, to use the android SMS receiver APIs |
How to register a user's phone to start using the API.