Skip to main content

availableReaction

Animations associated with a message reaction

type tg.AvailableReaction struct { /* ... */ }

Fields

NameTypeRequiredDescription
InactiveboolIf not set, the reaction can be added to new messages and enabled in chats.
PremiumboolWhether this reaction can only be used by Telegram Premium users
ReactionstringyesReaction emoji
TitlestringyesReaction description
StaticIconDocumentClassyesStatic icon for the reaction
AppearAnimationDocumentClassyesThe animated sticker to show when the user opens the reaction dropdown
SelectAnimationDocumentClassyesThe animated sticker to show when the user hovers over the reaction
ActivateAnimationDocumentClassyesThe animated sticker to show when the reaction is chosen and activated
EffectAnimationDocumentClassyesThe background effect (still an animated sticker) to play under the activate_animation when the reaction is chosen and activated
AroundAnimationDocumentClassThe animation that plays around the button when you press an existing reaction (played together with center_icon).
CenterIconDocumentClassThe animation of the emoji inside the button when you press an existing reaction (played together with around_animation).

References