MadelineProtoDocs/docs/API_docs/constructors/codeSettings.md

916 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?
allow_app_hash Bool Optional Whether to allow a persistent app hash

Type: CodeSettings

Example:

$codeSettings = ['_' => 'codeSettings', 'allow_flashcall' => Bool, 'current_number' => Bool, 'allow_app_hash' => Bool];

Or, if you're into Lua:

codeSettings={_='codeSettings', allow_flashcall=Bool, current_number=Bool, allow_app_hash=Bool}