tgbot-cpp
TgBot::Video Class Reference

This object represents a video file. More...

#include <Video.h>

Public Types

typedef std::shared_ptr< VideoPtr
 

Public Attributes

std::string fileId
 Unique identifier for this file. More...
 
int32_t width
 Video width as defined by sender. More...
 
int32_t height
 Video height as defined by sender. More...
 
int32_t duration
 Duration of the video in seconds as defined by sender. More...
 
PhotoSize::Ptr thumb
 Optional. Video thumbnail. More...
 
std::string mimeType
 Optional. Mime type of a file as defined by sender. More...
 
int32_t fileSize
 Optional. File size. More...
 

Detailed Description

This object represents a video file.

Definition at line 38 of file Video.h.

Member Typedef Documentation

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

Definition at line 41 of file Video.h.

Member Data Documentation

int32_t TgBot::Video::duration

Duration of the video in seconds as defined by sender.

Definition at line 61 of file Video.h.

std::string TgBot::Video::fileId

Unique identifier for this file.

Definition at line 46 of file Video.h.

int32_t TgBot::Video::fileSize

Optional. File size.

Definition at line 76 of file Video.h.

int32_t TgBot::Video::height

Video height as defined by sender.

Definition at line 56 of file Video.h.

std::string TgBot::Video::mimeType

Optional. Mime type of a file as defined by sender.

Definition at line 71 of file Video.h.

PhotoSize::Ptr TgBot::Video::thumb

Optional. Video thumbnail.

Definition at line 66 of file Video.h.

int32_t TgBot::Video::width

Video width as defined by sender.

Definition at line 51 of file Video.h.


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