yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
src
types
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
11
ForceReply::ForceReply
():
12
force_reply(true)
13
{
14
15
}
16
17
ForceReply::ForceReply
(
const
ForceReply
&
ForceReply
):
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
) {
29
ForceReply::selective
=
selective
;
30
}
31
33
// Getter Section //
35
36
bool
ForceReply::isForce_reply
()
const
{
37
return
force_reply
;
38
}
39
40
const
optional<bool> &
ForceReply::getSelective
()
const
{
41
return
selective
;
42
}
yatbcpp::ForceReply
Definition:
ForceReply.h:9
ForceReply.h
std
yatbcpp
Definition:
Bot.h:27
yatbcpp::ForceReply::ForceReply
ForceReply()
Definition:
ForceReply.cc:11
yatbcpp::ForceReply::getSelective
const std::optional< bool > & getSelective() const
Definition:
ForceReply.cc:40
yatbcpp::ForceReply::force_reply
bool force_reply
Definition:
ForceReply.h:22
yatbcpp::ForceReply::setSelective
void setSelective(const std::optional< bool > &selective)
Definition:
ForceReply.cc:28
yatbcpp::ForceReply::isForce_reply
bool isForce_reply() const
Definition:
ForceReply.cc:36
yatbcpp::ForceReply::selective
std::optional< bool > selective
Definition:
ForceReply.h:23
Generated by
1.8.13