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

A bot command. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextBotCommand>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “bot_command”
std::shared_ptr< RichTexttext { }
 The text.
std::string botCommand { }
 The bot command.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

A bot command.

Definition at line 12540 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12541 of file Types.h.

Member Data Documentation

◆ botCommand

std::string TgBot::RichTextBotCommand::botCommand { }

The bot command.

Definition at line 12558 of file Types.h.

◆ text

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

The text.

Definition at line 12553 of file Types.h.

◆ TYPE

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

Definition at line 12543 of file Types.h.

◆ type

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

Type of the rich text, always “bot_command”

Definition at line 12548 of file Types.h.


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