danog\MadelineProto\Settings\AppInfo
Author: Daniil Gentili daniil@daniil.it
App information.
Method list:
hasApiInfo()
getApiId()
setApiId(int $apiId)
getApiHash()
setApiHash(string $apiHash)
getDeviceModel()
setDeviceModel(string $deviceModel)
getSystemVersion()
setSystemVersion(string $systemVersion)
getAppVersion()
setAppVersion(string $appVersion)
getLangCode()
setLangCode(string $langCode)
getLangPack()
setLangPack(string $langPack)
getShowPrompt()
setShowPrompt(bool $showPrompt): self
Methods:
hasApiInfo()
Check if the settings have API ID/hash information.
getApiId()
Get API ID.
setApiId(int $apiId)
Set API ID.
Parameters:
$apiId
:int
API ID.
getApiHash()
Get API hash.
setApiHash(string $apiHash)
Set API hash.
Parameters:
$apiHash
:string
API hash.
getDeviceModel()
Get device model.
setDeviceModel(string $deviceModel)
Set device model.
Parameters:
$deviceModel
:string
Device model.
getSystemVersion()
Get system version.
setSystemVersion(string $systemVersion)
Set system version.
Parameters:
$systemVersion
:string
System version.
getAppVersion()
Get app version.
setAppVersion(string $appVersion)
Set app version.
Parameters:
$appVersion
:string
App version.
getLangCode()
Get language code.
setLangCode(string $langCode)
Set language code.
Parameters:
$langCode
:string
Language code.
getLangPack()
Get language pack.
setLangPack(string $langPack)
Set language pack.
Parameters:
$langPack
:string
Language pack.
getShowPrompt()
Get whether to show a prompt, asking to enter an API ID/API hash if none is provided.
setShowPrompt(bool $showPrompt): self
Set whether to show a prompt, asking to enter an API ID/API hash if none is provided.
Parameters:
$showPrompt
:bool
Whether to show a prompt, asking to enter an API ID/API hash if none is provided.
Generated by danog/phpdoc