ReactionTypeCustomEmoji¶
- class telegram.ReactionTypeCustomEmoji(custom_emoji_id, *, api_kwargs=None)[source]¶
Bases:
telegram.ReactionType
Represents a reaction with a custom emoji.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if the
custom_emoji_id
is equal.Available In
Added in version 20.8.
- Parameters:
custom_emoji_id (
str
) – Custom emoji identifier.
- type[source]¶
Type of the reaction, always
'custom_emoji'
.- Type: