tgbot-cpp
Loading...
Searching...
No Matches
VideoNote.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_VIDEONOTE_H
2#define TGBOT_CPP_VIDEONOTE_H
3
5
6#include <cstdint>
7#include <string>
8#include <memory>
9
10namespace TgBot {
11
17class VideoNote {
18
19public:
20 typedef std::shared_ptr<VideoNote> Ptr;
21
25 std::string fileId;
26
31 std::string fileUniqueId;
32
36 std::int32_t length;
37
41 std::int32_t duration;
42
47
51 std::int32_t fileSize;
52};
53}
54
55#endif //TGBOT_CPP_VIDEONOTE_H
std::shared_ptr< PhotoSize > Ptr
Definition PhotoSize.h:18
This object represents a video message.
Definition VideoNote.h:17
std::int32_t duration
Duration of the video in seconds as defined by sender.
Definition VideoNote.h:41
std::shared_ptr< VideoNote > Ptr
Definition VideoNote.h:20
PhotoSize::Ptr thumbnail
Optional. Video thumbnail.
Definition VideoNote.h:46
std::string fileId
Identifier for this file, which can be used to download or reuse the file.
Definition VideoNote.h:25
std::string fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots....
Definition VideoNote.h:31
std::int32_t fileSize
Optional. File size.
Definition VideoNote.h:51
std::int32_t length
Video width and height (diameter of the video message) as defined by sender.
Definition VideoNote.h:36
Definition Api.h:40