tgbot-cpp
TgBot::Video Class Reference

#include <Video.h>

Public Types

typedef std::shared_ptr< VideoPtr
 

Public Attributes

std::string fileId
 
int32_t width
 
int32_t height
 
int32_t duration
 
PhotoSize::Ptr thumb
 
std::string mimeType
 
int32_t fileSize
 

Detailed Description

This object represents a video file.

Definition at line 37 of file Video.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 40 of file Video.h.

Member Data Documentation

◆ duration

int32_t TgBot::Video::duration

Duration of the video in seconds as defined by sender.

Definition at line 60 of file Video.h.

◆ fileId

std::string TgBot::Video::fileId

Unique identifier for this file.

Definition at line 45 of file Video.h.

◆ fileSize

int32_t TgBot::Video::fileSize

Optional. File size.

Definition at line 75 of file Video.h.

◆ height

int32_t TgBot::Video::height

Video height as defined by sender.

Definition at line 55 of file Video.h.

◆ mimeType

std::string TgBot::Video::mimeType

Optional. Mime type of a file as defined by sender

Definition at line 70 of file Video.h.

◆ thumb

PhotoSize::Ptr TgBot::Video::thumb

Optional. Video thumbnail.

Definition at line 65 of file Video.h.

◆ width

int32_t TgBot::Video::width

Video width as defined by sender.

Definition at line 50 of file Video.h.


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