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

    Interface InputRichBlockDocument

    A document file block to be sent (Bot API 10.3+).

    The docs type document as InputMediaDocument only — a bare file_id string is not a valid value, matching the sibling photo, video, animation and audio blocks.

    interface InputRichBlockDocument {
        caption?: RichBlockCaption;
        document: InputMediaDocument;
        type: "document";
    }
    Index

    Caption of the block.

    The document. Caption is ignored.

    type: "document"

    Type of the block, always 'document'.