summaryrefslogtreecommitdiff
path: root/include/tgbot/types/UserProfilePhotos.h
blob: 717ca93b4efd075a8d7695d607dd6e27add4be08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef TGBOT_CPP_USERPROFILEPHOTOS_H
#define TGBOT_CPP_USERPROFILEPHOTOS_H

#include "tgbot/types/PhotoSize.h"

#include <cstdint>
#include <vector>
#include <memory>

namespace TgBot {

/**
 * @brief This object represent a user's profile pictures.
 *
 * @ingroup types
 */
class UserProfilePhotos {

public:
    typedef std::shared_ptr<UserProfilePhotos> Ptr;

    /**
     * @brief Total number of profile pictures the target user has.
     */
    std::int32_t totalCount;

    /**
     * @brief Requested profile pictures (in up to 4 sizes each).
     */
    std::vector<std::vector<PhotoSize::Ptr>> photos;
};

}

#endif //TGBOT_CPP_USERPROFILEPHOTOS_H