RichBlockDocument
A block with a general file, corresponding to the custom HTML tag <tg-document>.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the block, always “document” |
document | Document | required | The document |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { RichBlockDocument } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richblockdocument