yatbcpp
0.0.1
Yet another Telegram Bot CPP Library
src
types
InlineQueryResult.cc
Go to the documentation of this file.
1
#include "
types/InlineQueryResult.h
"
2
3
using namespace
yatbcpp
;
4
5
InlineQueryResult::InlineQueryResult
(std::string type,std::string
id
):
6
type(type), id(id)
7
{
8
9
}
10
11
InlineQueryResult::InlineQueryResult
(
const
InlineQueryResult
&
InlineQueryResult
):
12
type
(InlineQueryResult.
type
),
id
(InlineQueryResult.
id
)
13
{
14
15
}
16
17
18
const
std::string &
InlineQueryResult::getType
()
const
{
19
return
type
;
20
}
21
22
const
std::string &
InlineQueryResult::getId
()
const
{
23
return
id
;
24
}
yatbcpp::InlineQueryResult
Definition:
InlineQueryResult.h:13
yatbcpp::InlineQueryResult::getType
const std::string & getType() const
Definition:
InlineQueryResult.cc:18
yatbcpp::InlineQueryResult::InlineQueryResult
InlineQueryResult(std::string type, std::string id)
Definition:
InlineQueryResult.cc:5
yatbcpp
Definition:
Bot.h:27
InlineQueryResult.h
yatbcpp::InlineQueryResult::id
std::string id
Definition:
InlineQueryResult.h:28
yatbcpp::InlineQueryResult::getId
const std::string & getId() const
Definition:
InlineQueryResult.cc:22
yatbcpp::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:26
Generated by
1.8.13