Rich messages

RichBlockDocument

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

fields

fieldtyperequireddescription
type"document"requiredType of the block, always “document”
documentDocumentrequiredThe document
captionRichBlockCaptionoptionalOptional. Caption of the block

import

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

used by

types