ReactionCount

class telegram.ReactionCount(type, total_count, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This 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 type and total_count is equal.

Added in version 20.8.

Parameters:
type[source]

Type of the reaction.

Type:

telegram.ReactionType

total_count[source]

Number of times the reaction was added.

Type:

int

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().