yatbcpp  0.0.1
Yet another Telegram Bot CPP Library
UserProfilePhotos.cc
Go to the documentation of this file.
1 #include <string>
2 #include <optional>
3 #include "types/PhotoSize.h"
5 
6 
7 using namespace yatbcpp;
8 using namespace std;
9 
11 // Constructor Section //
13 
14 UserProfilePhotos::UserProfilePhotos(int32_t total_count, std::vector<std::vector<PhotoSize>> photos):
15  total_count(total_count) , photos(photos)
16 {
17 
18 }
19 
21  total_count(UserProfilePhotos.total_count) , photos(UserProfilePhotos.photos)
22 {
23 
24 }
25 
26 
28 // Setter Section //
30 
32 // Getter Section //
34 
36  return total_count;
37 }
38 
39 const vector<vector<PhotoSize>> &UserProfilePhotos::getPhotos() const {
40  return photos;
41 }
42 
UserProfilePhotos(std::int32_t total_count, std::vector< std::vector< PhotoSize >> photos)
const std::vector< std::vector< PhotoSize > > & getPhotos() const
std::vector< std::vector< PhotoSize > > photos
std::int32_t getTotal_count() const
Definition: Bot.h:27