yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
ForceReply.cc
Go to the documentation of this file.
1 #include <optional>
2 #include "types/ForceReply.h"
3 
4 using namespace yatbcpp;
5 using namespace std;
6 
8 // Constructor Section //
10 
12  force_reply(true)
13 {
14 
15 }
16 
18  force_reply(ForceReply.force_reply)
19 {
20  selective = ForceReply.selective;
21 }
22 
23 
25 // Setter Section //
27 
28 void ForceReply::setSelective(const optional<bool> &selective) {
30 }
31 
33 // Getter Section //
35 
37  return force_reply;
38 }
39 
40 const optional<bool> &ForceReply::getSelective() const {
41  return selective;
42 }
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