ExGram.Model.RichBlockThinking (ex_gram v0.67.0)

Copy Markdown View Source

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.

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "thinking”
  • text: Text of the block. See https://t.me/addemoji/AIActions for examples of custom emoji, which are recommended for usage in the block.

Summary

Types

t()

@type t() :: %ExGram.Model.RichBlockThinking{
  text: ExGram.Model.RichText.t(),
  type: String.t()
}

Functions

decode_as()