AvailableReaction
- class pyrogram.raw.types.AvailableReaction
Animations associated with a message reaction
Constructor of
AvailableReaction
.- Details:
Layer:
194
ID:
C077EC01
- Parameters:
reaction (
str
) – Reaction emojititle (
str
) – Reaction descriptionstatic_icon (
Document
) – Static icon for the reactionappear_animation (
Document
) – The animated sticker to show when the user opens the reaction dropdownselect_animation (
Document
) – The animated sticker to show when the user hovers over the reactionactivate_animation (
Document
) – The animated sticker to show when the reaction is chosen and activatedeffect_animation (
Document
) – The background effect (still an animated sticker) to play under the activate_animation, when the reaction is chosen and activatedinactive (
bool
, optional) – If not set, the reaction can be added to new messages and enabled in chats.premium (
bool
, optional) – Whether this reaction can only be used by Telegram Premium usersaround_animation (
Document
, optional) – The animation that plays around the button when you press an existing reaction (played together with center_icon).center_icon (
Document
, optional) – The animation of the emoji inside the button when you press an existing reaction (played together with around_animation).