GramIO API Reference / gramio/dist / TelegramRichBlockDocument
Interface: TelegramRichBlockDocument
Defined in: @gramio/types/out/objects.d.ts:8280
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:8292 |
document | TelegramDocument | The document | @gramio/types/out/objects.d.ts:8288 |
type | "document" | Type of the block, always “document” | @gramio/types/out/objects.d.ts:8284 |