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

20 lines
367 B
C
Raw Permalink Normal View History

#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);
};