Link Search Menu Expand Document

danog\MadelineProto\Settings\TLSchema

Back to index

Author: Daniil Gentili daniil@daniil.it

TL schema settings.

Method list:

  • needsUpgrade(): bool
  • upgrade()
  • getLayer()
  • setLayer(int $layer)
  • getMTProtoSchema()
  • setMTProtoSchema(string $MTProtoSchema)
  • getAPISchema()
  • setAPISchema(string $APISchema)
  • getSecretSchema()
  • setSecretSchema(string $secretSchema)
  • getOther()
  • setOther()

Methods:

needsUpgrade(): bool

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

upgrade()

Signal that scheme was re-parsed.

getLayer()

Get TL layer version.

setLayer(int $layer)

Set TL layer version.

Parameters:

  • $layer: int TL layer version.

getMTProtoSchema()

Get MTProto schema path.

setMTProtoSchema(string $MTProtoSchema)

Set MTProto schema path.

Parameters:

  • $MTProtoSchema: string MTProto schema path.

getAPISchema()

Get API schema path.

setAPISchema(string $APISchema)

Set API schema path.

Parameters:

  • $APISchema: string API schema path.

getSecretSchema()

Get secret schema path.

setSecretSchema(string $secretSchema)

Set secret schema path.

Parameters:

  • $secretSchema: string Secret schema path.

getOther()

Get the value of other.

setOther()

Set the value of other.


Generated by danog/phpdoc