ReactionTypeEmoji

class telegram.ReactionTypeEmoji(emoji, *, api_kwargs=None)[source]

Bases: telegram.ReactionType

Represents a reaction with a normal emoji.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if the emoji is equal.

Added in version 20.8.

Parameters:

emoji (str) – Reaction emoji. It can be one of telegram.constants.ReactionEmoji.

type[source]

Type of the reaction, always 'emoji'.

Type:

str

emoji[source]

Reaction emoji. It can be one of

Type:

str

:const:`telegram.constants.ReactionEmoji`.