Link Search Menu Expand Document

danog\MadelineProto\Settings\TLSchema

Back to index

Author: Daniil Gentili daniil@daniil.it

TL schema settings.

Method list:

Methods:

needsUpgrade(): bool

Returns whether the TL parser should re-parse the TL schemes.

upgrade(): void

Signal that scheme was re-parsed.

getLayer(): int

Get TL layer version.

setLayer(int $layer): self

Set TL layer version.

Parameters:

  • $layer: int TL layer version.

getMTProtoSchema(): string

Get MTProto schema path.

setMTProtoSchema(string $MTProtoSchema): self

Set MTProto schema path.

Parameters:

  • $MTProtoSchema: string MTProto schema path.

getAPISchema(): string

Get API schema path.

setAPISchema(string $APISchema): self

Set API schema path.

Parameters:

  • $APISchema: string API schema path.

getSecretSchema(): string

Get secret schema path.

setSecretSchema(string $secretSchema): self

Set secret schema path.

Parameters:

  • $secretSchema: string Secret schema path.

getOther(): array

Get the value of other.

setOther(array $other): self

Set the value of other.

Parameters:

  • $other: array

getFuzzMode(): bool

Get the value of the fuzz mode.

setFuzzMode(bool $fuzz): self

Set the value of the fuzz mode.

Parameters:

  • $fuzz: bool

Generated by danog/phpdoc