telegram api constructor · layer 229 · #c077ec01

availableReaction

Animations associated with a message reaction

definition

availableReaction#c077ec01 flags:# inactive:flags.0?true premium:flags.2?true reaction:string title:string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document around_animation:flags.1?Document center_icon:flags.1?Document = AvailableReaction;

parameters

nametypedescription
flags#Flags, see TL conditional fields
inactiveflags.0?trueIf not set, the reaction can be added to new messages and enabled in chats.
premiumflags.2?trueWhether this reaction can only be used by Telegram Premium users
reactionstringReaction emoji
titlestringReaction description
static_iconDocumentStatic icon for the reaction
appear_animationDocumentThe animated sticker to show when the user opens the reaction dropdown
select_animationDocumentThe animated sticker to show when the user hovers over the reaction
activate_animationDocumentThe animated sticker to show when the reaction is chosen and activated
effect_animationDocumentThe background effect (still an animated sticker) to play under the activate_animation, when the reaction is chosen and activated
around_animationflags.1?DocumentThe animation that plays around the button when you press an existing reaction (played together with center_icon).
center_iconflags.1?DocumentThe animation of the emoji inside the button when you press an existing reaction (played together with around_animation).

type

AvailableReaction

history

present in layers 136–229 · constructor id changed 1×

idlayers
#021d7c4b136
#c077ec01137–229