Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_paid_media Struct Reference

This object describes paid media. More...

#include <telebot-types.h>

Public Attributes

char * type
 
int width
 
int height
 
int duration
 
struct telebot_photophotos
 
int count_photos
 
struct telebot_videovideo
 

Detailed Description

This object describes paid media.

Member Data Documentation

◆ duration

int telebot_paid_media::duration

Optional. Duration of the media in seconds as defined by the sender

◆ height

int telebot_paid_media::height

Optional. Media height as defined by the sender

◆ photos

struct telebot_photo* telebot_paid_media::photos

Optional. The photo

◆ type

char* telebot_paid_media::type

Type of the paid media, can be "preview", "photo", "video"

◆ video

struct telebot_video* telebot_paid_media::video

Optional. The video

◆ width

int telebot_paid_media::width

Optional. Media width as defined by the sender


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