tgbot-cpp
Loading...
Searching...
No Matches
TgBot::VideoNote Class Reference

This object represents a video message. More...

#include <VideoNote.h>

Public Types

typedef std::shared_ptr< VideoNotePtr
 

Public Attributes

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 sender.
 
std::int32_t duration
 Duration of the video in seconds as defined by sender.
 
PhotoSize::Ptr thumb
 Optional. Video thumbnail.
 
std::int32_t fileSize
 Optional. File size.
 

Detailed Description

This object represents a video message.

Definition at line 17 of file VideoNote.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<VideoNote> TgBot::VideoNote::Ptr

Definition at line 20 of file VideoNote.h.

Member Data Documentation

◆ duration

std::int32_t TgBot::VideoNote::duration

Duration of the video in seconds as defined by sender.

Definition at line 41 of file VideoNote.h.

◆ fileId

std::string TgBot::VideoNote::fileId

Identifier for this file, which can be used to download or reuse the file.

Definition at line 25 of file VideoNote.h.

◆ fileSize

std::int32_t TgBot::VideoNote::fileSize

Optional. File size.

Definition at line 51 of file VideoNote.h.

◆ 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 31 of file VideoNote.h.

◆ length

std::int32_t TgBot::VideoNote::length

Video width and height (diameter of the video message) as defined by sender.

Definition at line 36 of file VideoNote.h.

◆ thumb

PhotoSize::Ptr TgBot::VideoNote::thumb

Optional. Video thumbnail.

Definition at line 46 of file VideoNote.h.


The documentation for this class was generated from the following file: