This object represents a live photo.
More...
#include <Types.h>
|
| std::optional< std::vector< std::shared_ptr< PhotoSize > > > | photo { } |
| | Optional. Available sizes of the corresponding static photo.
|
| std::string | fileId { } |
| | Identifier for the video file which can be used to download or reuse the file.
|
| std::string | fileUniqueId { } |
| | Unique identifier for the video 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 { } |
| | Video width as defined by the sender.
|
| std::int32_t | height { } |
| | Video height as defined by the sender.
|
| std::int32_t | duration { } |
| | Duration of the video in seconds as defined by the sender.
|
| std::optional< std::string > | mimeType { } |
| | Optional. MIME type of the file as defined by the sender.
|
| std::optional< std::int64_t > | fileSize { } |
| | Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
|
This object represents a live photo.
Definition at line 8563 of file Types.h.
◆ Ptr
◆ duration
| std::int32_t TgBot::LivePhoto::duration { } |
Duration of the video in seconds as defined by the sender.
Definition at line 8595 of file Types.h.
◆ fileId
| std::string TgBot::LivePhoto::fileId { } |
Identifier for the video file which can be used to download or reuse the file.
Definition at line 8574 of file Types.h.
◆ fileSize
| std::optional<std::int64_t> TgBot::LivePhoto::fileSize { } |
Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this value.
Definition at line 8608 of file Types.h.
◆ fileUniqueId
| std::string TgBot::LivePhoto::fileUniqueId { } |
Unique identifier for the video 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 8580 of file Types.h.
◆ height
| std::int32_t TgBot::LivePhoto::height { } |
◆ mimeType
| std::optional<std::string> TgBot::LivePhoto::mimeType { } |
Optional. MIME type of the file as defined by the sender.
Definition at line 8600 of file Types.h.
◆ photo
| std::optional<std::vector<std::shared_ptr<PhotoSize> > > TgBot::LivePhoto::photo { } |
Optional. Available sizes of the corresponding static photo.
Definition at line 8569 of file Types.h.
◆ width
| std::int32_t TgBot::LivePhoto::width { } |
The documentation for this struct was generated from the following file: