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()
  • 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)

Methods:

hasApiInfo(): bool

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.

Generated by danog/phpdoc