InputRichBlockDocument
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 | InputMediaDocument | required | The document. Caption is ignored. |
caption | RichBlockCaption | optional | Optional. Caption of the block |
import
import type { InputRichBlockDocument } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputrichblockdocument