Link Search Menu Expand Document

danog\MadelineProto\Settings\Pwr

Back to index

Author: Daniil Gentili daniil@daniil.it

PWRTelegram settings.

Method list:

  • getRequests(): bool
  • setRequests(bool $requests): self
  • getDbToken(): string
  • setDbToken(string $dbToken): self

Methods:

getRequests(): bool

Get whether to try resolving usernames using PWRTelegram DB.

setRequests(bool $requests): self

Set whether to try resolving usernames using PWRTelegram DB.

Parameters:

  • $requests: bool Whether to try resolving usernames using PWRTelegram DB.

getDbToken(): string

Get DB token.

setDbToken(string $dbToken): self

Set DB token.

Parameters:

  • $dbToken: string DB token.

Generated by danog/phpdoc