Documentation - v0.30.1
    Preparing search index...

    Interface InputPageBlockWithFile

    A convenience wrapper for the raw page blocks containing a file (photo, video, document, etc.)

    You can simply pass Long.ZERO as the ID inside the block, and pass the actual file in the file property, and mtcute will take care of the rest.

    interface InputPageBlockWithFile {
        block: InputPageBlock;
        file: InputRichMessageMedia;
    }
    Index

    Properties

    Properties