Raw.AvailableReaction
Animations associated with a message reaction
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;export namespace Raw {
export class AvailableReaction {
constructor(params: {
inactive?: boolean;
premium?: boolean;
reaction: string;
title: string;
staticIcon: Raw.TypeDocument;
appearAnimation: Raw.TypeDocument;
selectAnimation: Raw.TypeDocument;
activateAnimation: Raw.TypeDocument;
effectAnimation: Raw.TypeDocument;
aroundAnimation?: Raw.TypeDocument;
centerIcon?: Raw.TypeDocument;
}) {}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0xc077ec01
Property
inactive: boolean or undefinedIf not set, the reaction can be added to new messages and enabled in chats.
premium: boolean or undefinedWhether this reaction can only be used by telegram premium users
reaction: stringReaction emoji
title: stringReaction description
staticIcon: Raw.TypeDocumentStatic icon for the reaction
appearAnimation: Raw.TypeDocumentThe animated sticker to show when the user opens the reaction dropdown
selectAnimation: Raw.TypeDocumentThe animated sticker to show when the user hovers over the reaction
activateAnimation: Raw.TypeDocumentThe animated sticker to show when the reaction is chosen and activated
effectAnimation: Raw.TypeDocumentThe background effect (still an animated sticker) to play under the activateAnimation, when the reaction is chosen and activated
aroundAnimation: Raw.TypeDocument or undefinedThe animation that plays around the button when you press an existing reaction (played together with centerIcon).
centerIcon: Raw.TypeDocument or undefinedThe animation of the emoji inside the button when you press an existing reaction (played together with aroundAnimation).