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.

New 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)[source]

See telegram.TelegramObject.de_json().