Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Message\Entities\CustomEmoji

Back to index

Author: Daniil Gentili daniil@daniil.it

Represents a custom emoji.

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)
  • $documentId: int Document ID of the custom emoji.

Method list:

Methods:

__construct(int $offset, int $length, int $documentId)

Parameters:

  • $offset: int
  • $length: int
  • $documentId: int

toBotAPI(): array

toMTProto(): array

fromRawEntities(list<array> $entities): list<self>

Parameters:

  • $entities: list<array>

fromRawEntity(array $entity): self

Parameters:

  • $entity: array

Generated by danog/phpdoc