This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
HelloBot/SimpleBot/MessageHandler.h
2018-03-29 13:51:39 +02:00

20 lines
367 B
C++

#pragma once
#include "tgbot/bot.h"
#include <string>
#include <set>
class MessageHandler
{
private:
const std::set<std::string> knownUsers = { "mandlm" };
private:
void replyUserUnknown(const tgbot::types::Message &message, const tgbot::methods::Api &api);
public:
void handle(const tgbot::types::Message &message, const tgbot::methods::Api &api);
};