Skip to content

GramIO API Reference / gramio/dist / TelegramInputRichBlockDocument

Interface: TelegramInputRichBlockDocument

Defined in: @gramio/types/out/objects.d.ts:8852

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

Documentation

Properties

PropertyTypeDescriptionDefined in
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8864
documentTelegramInputMediaDocumentThe document. Caption is ignored.@gramio/types/out/objects.d.ts:8860
type"document"Type of the block, always “document”@gramio/types/out/objects.d.ts:8856