23 #ifndef TGBOT_CPP_BOT_H 24 #define TGBOT_CPP_BOT_H 42 explicit Bot(
const std::string& token) : _token(token), _api(token), _eventHandler(&_eventBroadcaster) {
63 return _eventBroadcaster;
74 const std::string _token;
82 #endif //TGBOT_CPP_BOT_H const EventHandler & getEventHandler() const
This class holds all event listeners.
This class executes telegram api methods. Telegram docs: https://core.telegram.org/bots/api#available...
const std::string & getToken() const
Bot(const std::string &token)
This object holds other objects specific for this bot instance.
const Api & getApi() const
EventBroadcaster & getEvents()