peyk.platforms.telegram.types.reaction_count

Classes

ReactionCount(type[, total_count])

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: object

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

Variables:
type: ReactionTypeEmoji | ReactionTypeCustomEmoji | ReactionTypePaid
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.