This object represents one size of a photo or a file / sticker thumbnail.
More...
#include <Types.h>
|
| 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::uint32_t | width { } |
| | Photo width.
|
| std::uint32_t | height { } |
| | Photo height.
|
| std::optional< std::uint32_t > | fileSize { } |
| | Optional. File size in bytes.
|
This object represents one size of a photo or a file / sticker thumbnail.
Definition at line 10261 of file Types.h.
◆ Ptr
◆ fileId
| std::string TgBot::PhotoSize::fileId { } |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 10267 of file Types.h.
◆ fileSize
| std::optional<std::uint32_t> TgBot::PhotoSize::fileSize { } |
◆ fileUniqueId
| 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 10272 of file Types.h.
◆ height
| std::uint32_t TgBot::PhotoSize::height { } |
◆ width
| std::uint32_t TgBot::PhotoSize::width { } |
The documentation for this struct was generated from the following file: