AvailableReaction#

class pyrogram.raw.types.AvailableReaction#

Animations associated with a message reaction.

Constructor of AvailableReaction.

Details:
  • Layer: 158

  • ID: C077EC01

Parameters:
  • reaction (str) – Reaction emoji.

  • title (str) – Reaction description.

  • static_icon (Document) – Static icon for the reaction.

  • appear_animation (Document) – The animated sticker to show when the user opens the reaction dropdown.

  • select_animation (Document) – The animated sticker to show when the user hovers over the reaction.

  • activate_animation (Document) – The animated sticker to show when the reaction is chosen and activated.

  • effect_animation (Document) – The background effect (still an animated sticker) to play under the activate_animation, when the reaction is chosen and activated.

  • inactive (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 users.

  • around_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).