summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorOleg Morozenkov <m@oleg.rocks>2022-09-11 17:11:45 +0300
committerGitHub <noreply@github.com>2022-09-11 17:11:45 +0300
commit30136601c6755e5d7c2174ebd4ed49595e10a54b (patch)
treea9e6b8b9d653baea4e86d366e38e09f9038a4eda /src/types
parentc82fa054194126e400e7e87dabbdaf20d847703c (diff)
parent270612dc36df84fe25d7fa5e59ca20647b1e5da9 (diff)
Merge pull request #227 from llnulldisk/master
Update to API 5.7
Diffstat (limited to 'src/types')
-rw-r--r--src/types/MenuButton.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types/MenuButton.cpp b/src/types/MenuButton.cpp
new file mode 100644
index 0000000..54e3868
--- /dev/null
+++ b/src/types/MenuButton.cpp
@@ -0,0 +1,11 @@
+#include "tgbot/types/MenuButtonCommands.h"
+#include "tgbot/types/MenuButtonWebApp.h"
+#include "tgbot/types/MenuButtonDefault.h"
+
+#include <string>
+
+using namespace TgBot;
+
+const std::string MenuButtonCommands::TYPE = "commands";
+const std::string MenuButtonWebApp::TYPE = "web_app";
+const std::string MenuButtonDefault::TYPE = "default";