tgbot-cpp
Loading...
Searching...
No Matches
TgBot::BotCommand Class Reference

This object represents a bot command. More...

#include <BotCommand.h>

Public Types

typedef std::shared_ptr< BotCommandPtr
 

Public Member Functions

 BotCommand ()
 
virtual ~BotCommand ()
 

Public Attributes

std::string command
 command label.
 
std::string description
 description label.
 

Detailed Description

This object represents a bot command.

https://core.telegram.org/bots/api#botcommand

Definition at line 16 of file BotCommand.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<BotCommand> TgBot::BotCommand::Ptr

Definition at line 18 of file BotCommand.h.

Constructor & Destructor Documentation

◆ BotCommand()

TgBot::BotCommand::BotCommand ( )
inline

Definition at line 19 of file BotCommand.h.

◆ ~BotCommand()

virtual TgBot::BotCommand::~BotCommand ( )
inlinevirtual

Definition at line 21 of file BotCommand.h.

Member Data Documentation

◆ command

std::string TgBot::BotCommand::command

command label.

Definition at line 26 of file BotCommand.h.

◆ description

std::string TgBot::BotCommand::description

description label.

Definition at line 31 of file BotCommand.h.


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