Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Action\EmojiTap

Back to index

Author: Daniil Gentili daniil@daniil.it

User has clicked on an animated emoji triggering a reaction, click here for more info ».

Properties

  • $emoticon: string Emoji
  • $id: int Message ID of the animated emoji that was clicked
  • $animation: list<array{t: float, i: int}> t: number of seconds that passed since the previous tap in the array, the first tap uses a value of 0.0. i: 1-based index of the randomly chosen animation for the tap (equivalent to the index of a specific emoji-related animation in stickerPack + 1).

Method list:

Methods:

__construct(string $emoticon, ?int $id, array $animation)

Parameters:

  • $emoticon: string
  • $id: ?int
  • $animation: array

toRawAction(): array


Generated by danog/phpdoc