telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface RichBlockPhoto

    A photo media block.

    interface RichBlockPhoto {
        caption?: RichBlockCaption;
        has_spoiler?: boolean;
        photo: PhotoSize[];
        type: "photo";
    }
    Index

    Caption of the block.

    has_spoiler?: boolean

    True, if the media preview is covered by a spoiler animation.

    photo: PhotoSize[]

    Available sizes of the photo.

    type: "photo"

    Type of the block, always 'photo'.