tgbotxx
1.1.6.9
Telegram Bot C++ Library
|
This object represent a user's profile pictures. https://core.telegram.org/bots/api#userprofilephotos. More...
#include <UserProfilePhotos.hpp>
Public Member Functions | |
UserProfilePhotos ()=default | |
UserProfilePhotos (const nl::json &json) | |
nl::json | toJson () const |
Serializes this object to JSON. More... | |
void | fromJson (const nl::json &json) |
Deserializes this object from JSON. More... | |
Public Attributes | |
std::int32_t | totalCount {} |
Total number of profile pictures the target user has. More... | |
std::vector< std::vector< Ptr< PhotoSize > > > | photos |
Requested profile pictures (in up to 4 sizes each) More... | |
This object represent a user's profile pictures. https://core.telegram.org/bots/api#userprofilephotos.
Definition at line 8 of file UserProfilePhotos.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file UserProfilePhotos.hpp.
|
inline |
Deserializes this object from JSON.
Definition at line 31 of file UserProfilePhotos.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file UserProfilePhotos.hpp.
Requested profile pictures (in up to 4 sizes each)
Definition at line 18 of file UserProfilePhotos.hpp.
std::int32_t tgbotxx::UserProfilePhotos::totalCount {} |
Total number of profile pictures the target user has.
Definition at line 15 of file UserProfilePhotos.hpp.