This object represents a video file of a specific quality.
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::int32_t | width { } |
| | Video width.
|
| std::int32_t | height { } |
| | Video height.
|
| std::string | codec { } |
| | Codec that was used to encode the video, for example, “h264”, “h265”, or “av01”
|
| 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 video file of a specific quality.
Definition at line 15235 of file Types.h.
◆ Ptr
◆ codec
| std::string TgBot::VideoQuality::codec { } |
Codec that was used to encode the video, for example, “h264”, “h265”, or “av01”
Definition at line 15262 of file Types.h.
◆ fileId
| std::string TgBot::VideoQuality::fileId { } |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 15241 of file Types.h.
◆ fileSize
| std::optional<std::int64_t> TgBot::VideoQuality::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 15270 of file Types.h.
◆ fileUniqueId
| std::string TgBot::VideoQuality::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 15247 of file Types.h.
◆ height
| std::int32_t TgBot::VideoQuality::height { } |
◆ width
| std::int32_t TgBot::VideoQuality::width { } |
The documentation for this struct was generated from the following file: