Interface PushMessageContentMediaAlbum

A media album. Subtype of PushMessageContent.

interface PushMessageContentMediaAlbum {
    @type: "pushMessageContentMediaAlbum";
    has_audios?: boolean;
    has_documents?: boolean;
    has_photos?: boolean;
    has_videos?: boolean;
    total_count: number;
}

Properties

@type: "pushMessageContentMediaAlbum"
has_audios?: boolean

True, if the album has at least one audio file.

has_documents?: boolean

True, if the album has at least one document.

has_photos?: boolean

True, if the album has at least one photo.

has_videos?: boolean

True, if the album has at least one video file.

total_count: number

Number of messages in the album.