danog\MadelineProto\Settings\TLSchema
Author: Daniil Gentili daniil@daniil.it
TL schema settings.
Method list:
needsUpgrade(): boolupgrade(): voidgetLayer(): intsetLayer(int $layer): selfgetMTProtoSchema(): stringsetMTProtoSchema(string $MTProtoSchema): selfgetAPISchema(): stringsetAPISchema(string $APISchema): selfgetSecretSchema(): stringsetSecretSchema(string $secretSchema): selfgetOther(): array<string, string>setOther(array<string, string> $other): selfgetFuzzMode(): boolsetFuzzMode(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:intTL layer version.
getMTProtoSchema(): string
Get MTProto schema path.
setMTProtoSchema(string $MTProtoSchema): self
Set MTProto schema path.
Parameters:
$MTProtoSchema:stringMTProto schema path.
getAPISchema(): string
Get API schema path.
setAPISchema(string $APISchema): self
Set API schema path.
Parameters:
$APISchema:stringAPI schema path.
getSecretSchema(): string
Get secret schema path.
setSecretSchema(string $secretSchema): self
Set secret schema path.
Parameters:
$secretSchema:stringSecret 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