Interface MessageEffect

Contains information about an effect added to a message.

interface MessageEffect {
    @type: "messageEffect";
    emoji: string;
    id: string;
    is_premium?: boolean;
    static_icon: Sticker;
    type: MessageEffectType;
}

Properties

@type: "messageEffect"
emoji: string

Emoji corresponding to the effect that can be used if static icon isn't available.

id: string

Unique identifier of the effect.

is_premium?: boolean

True, if Telegram Premium subscription is required to use the effect.

static_icon: Sticker

Static icon for the effect in WEBP format; may be null if none.

Type of the effect.