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