tgbot-cpp
|
This object represents one size of a photo or a file / sticker thumbnail. More...
#include <PhotoSize.h>
Public Types | |
typedef std::shared_ptr< PhotoSize > | Ptr |
Public Attributes | |
std::string | fileId |
Identifier for this file, which can be used to download or reuse the file. | |
std::string | fileUniqueId |
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. | |
std::int32_t | width |
Photo width. | |
std::int32_t | height |
Photo height. | |
std::int32_t | fileSize |
Optional. File size. | |
This object represents one size of a photo or a file / sticker thumbnail.
Definition at line 15 of file PhotoSize.h.
typedef std::shared_ptr<PhotoSize> TgBot::PhotoSize::Ptr |
Definition at line 18 of file PhotoSize.h.
std::string TgBot::PhotoSize::fileId |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 23 of file PhotoSize.h.
std::int32_t TgBot::PhotoSize::fileSize |
Optional. File size.
Definition at line 44 of file PhotoSize.h.
std::string TgBot::PhotoSize::fileUniqueId |
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
Definition at line 29 of file PhotoSize.h.
std::int32_t TgBot::PhotoSize::height |
Photo height.
Definition at line 39 of file PhotoSize.h.
std::int32_t TgBot::PhotoSize::width |
Photo width.
Definition at line 34 of file PhotoSize.h.