Rich messages

RichBlockThinking

A block with a “Thinking…” placeholder, corresponding to the custom HTML tag <tg-thinking>. The block may be used only in sendRichMessageDraft, therefore it can't be received in messages. See https://t.me/addemoji/AIActions for examples of custom emoji, which are recommended for usage in the block.

fields

fieldtyperequireddescription
typestringrequiredType of the block, always “thinking”
textRichTextrequiredText of the block. See https://t.me/addemoji/AIActions for examples of custom emoji, which are recommended for usage in the block.

import

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

used by

types