tgbot-cpp
Loading...
Searching...
No Matches
TgBot::RichBlockThinking Struct Reference

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 that are recommended for usage in the block. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichBlockThinking>

Public Attributes

std::string type { TYPE }
 Type of the block, always “thinking”
std::shared_ptr< RichTexttext { }
 Text of the block. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

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 that are recommended for usage in the block.

Definition at line 12302 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12303 of file Types.h.

Member Data Documentation

◆ text

std::shared_ptr<RichText> TgBot::RichBlockThinking::text { }

Text of the block. See https://t.me/addemoji/AIActions for examples of custom emoji that are recommended for usage in the block.

Definition at line 12316 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::RichBlockThinking::TYPE
static

Definition at line 12305 of file Types.h.

◆ type

std::string TgBot::RichBlockThinking::type { TYPE }

Type of the block, always “thinking”

Definition at line 12310 of file Types.h.


The documentation for this struct was generated from the following file: