danog\MadelineProto\EventHandler\Message\Entities\Pre
Author: Daniil Gentili daniil@daniil.it
Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
Properties
$offset:intOffset of message entity within message (in UTF-16 code units)$length:intLength of message entity within message (in UTF-16 code units)$language:stringProgramming language of the code
Method list:
__construct(int $offset, int $length, string $language)toBotAPI(): arraytoMTProto(): arrayfromRawEntities(list<array> $entities): list<self>fromRawEntity(self|array $entity): self
Methods:
__construct(int $offset, int $length, string $language)
Parameters:
$offset:int$length:int$language:string
toBotAPI(): array
toMTProto(): array
fromRawEntities(list<array> $entities): list<self>
Parameters:
$entities:list<array>
fromRawEntity(self|array $entity): self
Parameters:
$entity:self|array
Generated by danog/phpdoc