LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
Telegram::TCommand Struct Reference

#include <TelegramBot.h>

Public Attributes

std::string command
 The command, e.g. /help. More...
 
CommandCallback callback
 Pointer to the callback function. More...
 
std::string help_text
 Help text of the command. More...
 

Detailed Description

Structure to hold data for callbacks

Definition at line 26 of file TelegramBot.h.

Member Data Documentation

CommandCallback Telegram::TCommand::callback

Pointer to the callback function.

Definition at line 28 of file TelegramBot.h.

std::string Telegram::TCommand::command

The command, e.g. /help.

Definition at line 27 of file TelegramBot.h.

std::string Telegram::TCommand::help_text

Help text of the command.

Definition at line 29 of file TelegramBot.h.


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