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>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
caption? | TelegramRichBlockCaption | Optional. Caption of the block | @gramio/types/out/objects.d.ts:8864 |
document | TelegramInputMediaDocument | The 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 |