ReactionType¶
- class telegram.ReactionType(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectBase class for Telegram ReactionType Objects. There exist
telegram.ReactionTypeEmoji,telegram.ReactionTypeCustomEmojiandtelegram.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_EMOJIorPAID.
- type[source]¶
Type of the reaction. Can be
EMOJI,CUSTOM_EMOJIorPAID.- Type:
str
- PAID = 'paid'[source]¶
telegram.constants.ReactionType.PAIDAdded in version 21.5.