Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_animation Struct Reference

This object represents a video file. More...

#include <telebot-types.h>

Public Attributes

char * file_id
 
char * file_unique_id
 
int width
 
int height
 
int duration
 
struct telebot_photothumb
 
char * file_name
 
char * mime_type
 
int file_size
 

Detailed Description

This object represents a video file.

Member Data Documentation

◆ duration

int telebot_animation::duration

Duration of the video in seconds as defined by sender

◆ file_id

char* telebot_animation::file_id

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

◆ file_name

char* telebot_animation::file_name

Optional. Original animation filename as defined by sender

◆ file_size

int telebot_animation::file_size

Optional. File size

◆ file_unique_id

char* telebot_animation::file_unique_id

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.

◆ height

int telebot_animation::height

Video height as defined by sender

◆ mime_type

char* telebot_animation::mime_type

Optional. Mime type of a file as defined by sender

◆ thumb

struct telebot_photo* telebot_animation::thumb

Optional. Video thumbnail

◆ width

int telebot_animation::width

Video width as defined by sender


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