Added MyTitles page passing
This commit is contained in:
parent
45ce5da0ac
commit
45a1df4cbb
8 changed files with 110 additions and 1 deletions
13
modules/bot/front/include/handlers.hpp
Normal file
13
modules/bot/front/include/handlers.hpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <tgbot/tgbot.h>
|
||||
#include <string>
|
||||
#include <structs.hpp>
|
||||
|
||||
struct HandlerResult {
|
||||
std::string message;
|
||||
TgBot::InlineKeyboardMarkup::Ptr keyboard;
|
||||
};
|
||||
|
||||
class BotHandlers {
|
||||
public:
|
||||
static HandlerResult MyTitles(int64_t userId);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue