danog\MadelineProto\EventHandler\Message\Entities\InputMentionName
Author: Daniil Gentili daniil@daniil.it
Message entity representing a user mention created by the user, not returned by the API.
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)$userId
:(string | int)
Identifier of the user that was mentioned
Method list:
__construct(int $offset, int $length, string|int $userId)
toBotAPI(): array
toMTProto(): array
fromRawEntities(list<array> $entities): list<self>
fromRawEntity(self|array $entity): self
Methods:
__construct(int $offset, int $length, string|int $userId)
Parameters:
$offset
:int
$length
:int
$userId
:string|int
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