tgbot-cpp
Loading...
Searching...
No Matches
MenuButtonCommands.h
Go to the documentation of this file.
1
#ifndef TGBOT_MENUBUTTONCOMMANDS_H
2
#define TGBOT_MENUBUTTONCOMMANDS_H
3
4
#include "
tgbot/types/MenuButton.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
15
class
MenuButtonCommands
:
public
MenuButton
{
16
public
:
17
static
const
std::string
TYPE
;
18
19
typedef
std::shared_ptr<MenuButtonCommands>
Ptr
;
20
21
MenuButtonCommands
() {
22
this->
type
=
TYPE
;
23
}
24
};
25
}
26
27
#endif
//TGBOT_MENUBUTTONCOMMANDS_H
MenuButton.h
TgBot::MenuButtonCommands
Represents a menu button, which opens the bot's list of commands.
Definition
MenuButtonCommands.h:15
TgBot::MenuButtonCommands::MenuButtonCommands
MenuButtonCommands()
Definition
MenuButtonCommands.h:21
TgBot::MenuButtonCommands::Ptr
std::shared_ptr< MenuButtonCommands > Ptr
Definition
MenuButtonCommands.h:19
TgBot::MenuButtonCommands::TYPE
static const std::string TYPE
Definition
MenuButtonCommands.h:17
TgBot::MenuButton
This abstract class is base of all bot menu buttons.
Definition
MenuButton.h:19
TgBot::MenuButton::type
std::string type
Type of the button.
Definition
MenuButton.h:30
TgBot
Definition
Api.h:40
include
tgbot
types
MenuButtonCommands.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0