This object represents a video message (available in Telegram apps as of v.4.0).
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 | length { } |
| | Video width and height (diameter of the video message) as defined by the sender.
|
| std::int32_t | duration { } |
| | Duration of the video in seconds as defined by the sender.
|
| std::shared_ptr< PhotoSize > | thumbnail { } |
| | Optional. Video thumbnail.
|
| std::optional< std::int32_t > | fileSize { } |
| | Optional. File size in bytes.
|
This object represents a video message (available in Telegram apps as of v.4.0).
Definition at line 15193 of file Types.h.
◆ Ptr
◆ duration
| std::int32_t TgBot::VideoNote::duration { } |
Duration of the video in seconds as defined by the sender.
Definition at line 15215 of file Types.h.
◆ fileId
| std::string TgBot::VideoNote::fileId { } |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 15199 of file Types.h.
◆ fileSize
| std::optional<std::int32_t> TgBot::VideoNote::fileSize { } |
◆ fileUniqueId
| std::string TgBot::VideoNote::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 15205 of file Types.h.
◆ length
| std::int32_t TgBot::VideoNote::length { } |
Video width and height (diameter of the video message) as defined by the sender.
Definition at line 15210 of file Types.h.
◆ thumbnail
| std::shared_ptr<PhotoSize> TgBot::VideoNote::thumbnail { } |
The documentation for this struct was generated from the following file: