ReactionType¶
- class telegram.ReactionType(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
Base class for Telegram ReactionType Objects. There exist
telegram.ReactionTypeEmoji
,telegram.ReactionTypeCustomEmoji
andtelegram.ReactionTypePaid
.Available In
Added in version 20.8.
Changed in version 21.5: Added paid reaction.
- Parameters:
type (
str
) – Type of the reaction. Can beEMOJI
,CUSTOM_EMOJI
orPAID
.
- PAID = 'paid'[source]¶
telegram.constants.ReactionType.PAID
Added in version 21.5.