MadelineProtoDocs/old_docs/API_docs_v95/constructors/codeSettings.md

1014 B

title description image
codeSettings Code settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: codeSettings

Back to constructors index

Code settings

Attributes:

Name Type Required Description
allow_flashcall Bool Optional Allow flashcal?
current_number Bool Optional Current number?
app_hash_persistent Bool Optional Persistent hash?
app_hash string Optional Hash type

Type: CodeSettings

Example:

$codeSettings = ['_' => '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'}