Interface PushMessageContentPhoto

A photo message. Subtype of PushMessageContent.

interface PushMessageContentPhoto {
    @type: "pushMessageContentPhoto";
    caption: string;
    is_pinned?: boolean;
    is_secret?: boolean;
    photo: Photo;
}

Properties

@type: "pushMessageContentPhoto"
caption: string

Photo caption.

is_pinned?: boolean

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

is_secret?: boolean

True, if the photo is secret.

photo: Photo

Message content; may be null.