The paid media isn't available before the payment.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the paid media, always “preview”
|
| std::optional< std::int32_t > | width { } |
| | Optional. Media width as defined by the sender.
|
| std::optional< std::int32_t > | height { } |
| | Optional. Media height as defined by the sender.
|
| std::optional< std::int32_t > | duration { } |
| | Optional. Duration of the media in seconds as defined by the sender.
|
The paid media isn't available before the payment.
Definition at line 10249 of file Types.h.
◆ Ptr
◆ duration
| std::optional<std::int32_t> TgBot::PaidMediaPreview::duration { } |
Optional. Duration of the media in seconds as defined by the sender.
Definition at line 10272 of file Types.h.
◆ height
| std::optional<std::int32_t> TgBot::PaidMediaPreview::height { } |
Optional. Media height as defined by the sender.
Definition at line 10267 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::PaidMediaPreview::TYPE |
|
static |
◆ type
| std::string TgBot::PaidMediaPreview::type { TYPE } |
Type of the paid media, always “preview”
Definition at line 10257 of file Types.h.
◆ width
| std::optional<std::int32_t> TgBot::PaidMediaPreview::width { } |
Optional. Media width as defined by the sender.
Definition at line 10262 of file Types.h.
The documentation for this struct was generated from the following file: