ReactionCount

class aiogram.types.reaction_count.ReactionCount(*, type: ReactionTypeEmoji | ReactionTypeCustomEmoji | ReactionTypePaid, total_count: int, **extra_data: Any)[source]

Represents a reaction added to a message along with the number of times it was added.

Source: https://core.telegram.org/bots/api#reactioncount

type: ReactionTypeEmoji | ReactionTypeCustomEmoji | ReactionTypePaid

Type of the reaction

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

total_count: int

Number of times the reaction was added