tgbot-cpp
Loading...
Searching...
No Matches
TgBot::InputRichBlockThinking 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<InputRichBlockThinking>

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 7808 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7809 of file Types.h.

Member Data Documentation

◆ text

std::shared_ptr<RichText> TgBot::InputRichBlockThinking::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 7822 of file Types.h.

◆ TYPE

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

Definition at line 7811 of file Types.h.

◆ type

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

Type of the block, always “thinking”

Definition at line 7816 of file Types.h.


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