danog\MadelineProto\EventHandler\Message\Entities\BotCommand
Author: Daniil Gentili daniil@daniil.it
Message entity representing a bot /command.
Properties
$offset
:int
Offset of message entity within message (in UTF-16 code units)$length
:int
Length of message entity within message (in UTF-16 code units)
Method list:
toBotAPI(): array
toMTProto(): array
__construct(int $offset, int $length)
fromRawEntities(list<array> $entities): list<self>
fromRawEntity(self|array $entity): self
Methods:
toBotAPI(): array
toMTProto(): array
__construct(int $offset, int $length)
Parameters:
$offset
:int
$length
:int
fromRawEntities(list<array> $entities): list<self>
Parameters:
$entities
:list<array>
fromRawEntity(self|array $entity): self
Parameters:
$entity
:self|array
Generated by danog/phpdoc