LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
Telegram::Chat Class Reference

#include <Chat.h>

Public Member Functions

 Chat (Json::Value)
 
Json::Int64 getId ()
 
std::string getUsername ()
 

Private Attributes

Json::Int64 id
 
std::string type
 
std::string title
 
std::string username
 
std::string first_name
 
std::string last_name
 

Detailed Description

Definition at line 9 of file Chat.h.

Constructor & Destructor Documentation

Telegram::Chat::Chat ( Json::Value  json)

Definition at line 3 of file Chat.cc.

Member Function Documentation

Json::Int64 Telegram::Chat::getId ( )

Definition at line 13 of file Chat.cc.

std::string Telegram::Chat::getUsername ( )

Definition at line 18 of file Chat.cc.

Member Data Documentation

std::string Telegram::Chat::first_name
private

Definition at line 21 of file Chat.h.

Json::Int64 Telegram::Chat::id
private

Definition at line 17 of file Chat.h.

std::string Telegram::Chat::last_name
private

Definition at line 22 of file Chat.h.

std::string Telegram::Chat::title
private

Definition at line 19 of file Chat.h.

std::string Telegram::Chat::type
private

Definition at line 18 of file Chat.h.

std::string Telegram::Chat::username
private

Definition at line 20 of file Chat.h.


The documentation for this class was generated from the following files: