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.Available In
Added in version 20.8.
- Parameters:
emoji (
str
) – Reaction emoji. It can be one oftelegram.constants.ReactionEmoji
.
- :const:`telegram.constants.ReactionEmoji`.