availableReaction
Animations associated with a message reaction
type tg.AvailableReaction struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Inactive | bool | — | If not set, the reaction can be added to new messages and enabled in chats. |
Premium | bool | — | Whether this reaction can only be used by Telegram Premium users |
Reaction | string | yes | Reaction emoji |
Title | string | yes | Reaction description |
StaticIcon | DocumentClass | yes | Static icon for the reaction |
AppearAnimation | DocumentClass | yes | The animated sticker to show when the user opens the reaction dropdown |
SelectAnimation | DocumentClass | yes | The animated sticker to show when the user hovers over the reaction |
ActivateAnimation | DocumentClass | yes | The animated sticker to show when the reaction is chosen and activated |
EffectAnimation | DocumentClass | yes | The background effect (still an animated sticker) to play under the activate_animation when the reaction is chosen and activated |
AroundAnimation | DocumentClass | — | The animation that plays around the button when you press an existing reaction (played together with center_icon). |
CenterIcon | DocumentClass | — | The animation of the emoji inside the button when you press an existing reaction (played together with around_animation). |
References
- Official documentation
- Generated Go reference
- TL definition:
availableReaction#c077ec01