MadelineProtoDocs/docs/API_docs/constructors/codeSettings.md
2019-03-08 13:49:23 +01:00

1.1 KiB

title description image
codeSettings codeSettings attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: codeSettings

Back to constructors index

Attributes:

Name Type Required
allow_flashcall Bool Optional
current_number Bool Optional
app_hash_persistent Bool Optional
app_hash string Optional

Type: CodeSettings

Example:

$codeSettings = ['_' => 'codeSettings', 'allow_flashcall' => Bool, 'current_number' => Bool, 'app_hash_persistent' => Bool, 'app_hash' => 'string'];

PWRTelegram json-encoded version:

{"_": "codeSettings", "allow_flashcall": Bool, "current_number": Bool, "app_hash_persistent": Bool, "app_hash": "string"}

Or, if you're into Lua:

codeSettings={_='codeSettings', allow_flashcall=Bool, current_number=Bool, app_hash_persistent=Bool, app_hash='string'}