|
Telebot 9.4
Library for Telegram bot API
|
This object describes paid media. More...
#include <telebot-types.h>
Public Attributes | |
| char * | type |
| int | width |
| int | height |
| int | duration |
| struct telebot_photo * | photos |
| int | count_photos |
| struct telebot_video * | video |
This object describes paid media.
| int telebot_paid_media::duration |
Optional. Duration of the media in seconds as defined by the sender
| int telebot_paid_media::height |
Optional. Media height as defined by the sender
| struct telebot_photo* telebot_paid_media::photos |
Optional. The photo
| char* telebot_paid_media::type |
Type of the paid media, can be "preview", "photo", "video"
| struct telebot_video* telebot_paid_media::video |
Optional. The video
| int telebot_paid_media::width |
Optional. Media width as defined by the sender