tgbot-cpp
Loading...
Searching...
No Matches
MenuButtonDefault.h
Go to the documentation of this file.
1
#ifndef TGBOT_MENUBUTTONDEFAULT_H
2
#define TGBOT_MENUBUTTONDEFAULT_H
3
4
#include "
tgbot/types/MenuButton.h
"
5
6
#include <memory>
7
8
namespace
TgBot
{
9
15
class
MenuButtonDefault
:
public
MenuButton
{
16
public
:
17
static
const
std::string
TYPE
;
18
19
typedef
std::shared_ptr<MenuButtonDefault>
Ptr
;
20
21
MenuButtonDefault
() {
22
this->
type
=
TYPE
;
23
}
24
};
25
}
26
27
#endif
//TGBOT_MENUBUTTONDEFAULT_H
MenuButton.h
TgBot::MenuButtonDefault
Describes that no specific value for the menu button was set.
Definition
MenuButtonDefault.h:15
TgBot::MenuButtonDefault::MenuButtonDefault
MenuButtonDefault()
Definition
MenuButtonDefault.h:21
TgBot::MenuButtonDefault::TYPE
static const std::string TYPE
Definition
MenuButtonDefault.h:17
TgBot::MenuButtonDefault::Ptr
std::shared_ptr< MenuButtonDefault > Ptr
Definition
MenuButtonDefault.h:19
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
MenuButtonDefault.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0