danog\MadelineProto\Settings\TLSchema
Author: Daniil Gentili daniil@daniil.it
TL schema settings.
Method list:
needsUpgrade(): bool
upgrade(): void
getLayer(): int
setLayer(int $layer): self
getMTProtoSchema(): string
setMTProtoSchema(string $MTProtoSchema): self
getAPISchema(): string
setAPISchema(string $APISchema): self
getSecretSchema(): string
setSecretSchema(string $secretSchema): self
getOther(): array<string, string>
setOther(array<string, string> $other): self
getFuzzMode(): bool
setFuzzMode(bool $fuzz): self
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<string, string>
Get the value of other.
setOther(array<string, string> $other): self
Set the value of other.
Parameters:
$other
:array<string, string>
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