peyk.platforms.telegram.types.reaction_count¶
Classes
|
Represents a reaction added to a message along with the number of times it was added. |
- class peyk.platforms.telegram.types.reaction_count.ReactionCount(type: ReactionTypeEmoji | ReactionTypeCustomEmoji | ReactionTypePaid, total_count: int = 0)[source]¶
Bases:
objectRepresents a reaction added to a message along with the number of times it was added.
- Variables:
type (peyk.platforms.telegram.types.reaction_type_emoji.ReactionTypeEmoji | peyk.platforms.telegram.types.reaction_type_custom_emoji.ReactionTypeCustomEmoji | peyk.platforms.telegram.types.reaction_type_paid.ReactionTypePaid) – Type of the reaction
total_count (int) – Number of times the reaction was added
- total_count: int = 0¶
- classmethod from_dict(data: dict | None) ReactionCount | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.