Skip to content

InputRichBlockDocument

A block with a general file, corresponding to the custom HTML tag <tg-document>.

Fields

typeString = documentRequired
Type of the block, always "document"
documentInputMediaDocumentRequired
The document. Caption is ignored.
captionRichBlockCaptionOptional
Optional. Caption of the block

GramIO Usage

See Also