ReactionType¶
- class telegram.ReactionType(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
Base class for Telegram ReactionType Objects. There exist
telegram.ReactionTypeEmoji
andtelegram.ReactionTypeCustomEmoji
.Available In
New in version 20.8.
- Parameters:
type (
str
) – Type of the reaction. Can beEMOJI
orCUSTOM_EMOJI
.
- type[source]¶
Type of the reaction. Can be
EMOJI
orCUSTOM_EMOJI
.- Type: