yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
ForceReply.h
Go to the documentation of this file.
1 #ifndef YATBCPP_FORCEREPLY_H
2 #define YATBCPP_FORCEREPLY_H
3 
4 #include <optional>
5 #include "ReplyMarkup.h"
6 
7 namespace yatbcpp{
9  class ForceReply : public ReplyMarkup {
10  public:
11  ForceReply();
12 
14 
15  void setSelective(const std::optional<bool> &selective);
16 
17  bool isForce_reply() const;
18 
19  const std::optional<bool> &getSelective() const;
20 
21  private:
23  std::optional<bool> selective;
24  };
25 
26 }
27 
28 #endif //YATBCPP_FORCEREPLY_H
Definition: Bot.h:27
const std::optional< bool > & getSelective() const
Definition: ForceReply.cc:40
void setSelective(const std::optional< bool > &selective)
Definition: ForceReply.cc:28
bool isForce_reply() const
Definition: ForceReply.cc:36
std::optional< bool > selective
Definition: ForceReply.h:23