LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Chat.h
Go to the documentation of this file.
1
#ifndef _TG_CHAT_H_
2
#define _TG_CHAT_H_
3
4
#include <json/json.h>
5
#include <string>
6
7
namespace
Telegram {
8
9
class
Chat
{
10
public
:
11
Chat
(Json::Value);
12
13
Json::Int64
getId
();
14
std::string
getUsername
();
15
16
private
:
17
Json::Int64
id
;
18
std::string
type
;
19
std::string
title
;
20
std::string
username
;
21
std::string
first_name
;
22
std::string
last_name
;
23
};
24
}
25
26
#endif
Telegram::Chat
Definition:
Chat.h:9
Telegram::Chat::Chat
Chat(Json::Value)
Definition:
Chat.cc:3
Telegram::Chat::last_name
std::string last_name
Definition:
Chat.h:22
Telegram::Chat::id
Json::Int64 id
Definition:
Chat.h:17
Telegram::Chat::first_name
std::string first_name
Definition:
Chat.h:21
Telegram::Chat::getUsername
std::string getUsername()
Definition:
Chat.cc:18
Telegram::Chat::title
std::string title
Definition:
Chat.h:19
Telegram::Chat::username
std::string username
Definition:
Chat.h:20
Telegram::Chat::type
std::string type
Definition:
Chat.h:18
Telegram::Chat::getId
Json::Int64 getId()
Definition:
Chat.cc:13
include
Telegram
Chat.h
Generated on Sun Jun 4 2017 13:31:53 for LibTgBotPP by
1.8.6