Link Search Menu Expand Document

danog\MadelineProto\Settings\AppInfo

Back to index

Author: Daniil Gentili daniil@daniil.it

App information.

Method list:

  • 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
  • getLangPack(): string
  • setLangPack(string $langPack): self

Methods:

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.

getLangPack(): string

Get language pack.

setLangPack(string $langPack): self

Set language pack.

Parameters:

  • $langPack: string Language pack.

Generated by danog/phpdoc