ReactionCount¶
- class telegram.ReactionCount(type, total_count, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis class represents a reaction added to a message along with the number of times it was added.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if the
typeandtotal_countis equal.Available In
Added in version 20.8.
- Parameters:
type (
telegram.ReactionType) – Type of the reaction.total_count (
int) – Number of times the reaction was added.