Interface InputMessageDocument

A document message (general file). Subtype of InputMessageContent.

interface InputMessageDocument {
    @type: "inputMessageDocument";
    caption: FormattedText;
    document: InputDocument;
}

Properties

@type: "inputMessageDocument"
caption: FormattedText

Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.

document: InputDocument

Document to be sent.