Rich messages

InputRichBlockDocument

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

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “document”
documentInputMediaDocumentrequiredThe document. Caption is ignored.
captionRichBlockCaptionoptionalOptional. Caption of the block

import

types.ts
import type { InputRichBlockDocument } from "@yaebal/types";

used by

types