Interface PushMessageContentAnimation

An animation message (GIF-style). Subtype of PushMessageContent.

interface PushMessageContentAnimation {
    @type: "pushMessageContentAnimation";
    animation: Animation;
    caption: string;
    is_pinned?: boolean;
}

Properties

@type: "pushMessageContentAnimation"
animation: Animation

Message content; may be null.

caption: string

Animation caption.

is_pinned?: boolean

True, if the message is a pinned message with the specified content.