tgbot-cpp
Loading...
Searching...
No Matches
TgBot::PaidMedia Struct Reference

This object describes paid media. Currently, it can be one of PaidMediaLivePhoto PaidMediaPhoto PaidMediaPreview PaidMediaVideo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<PaidMedia>

Public Attributes

std::variant< std::shared_ptr< PaidMediaLivePhoto >, std::shared_ptr< PaidMediaPhoto >, std::shared_ptr< PaidMediaPreview >, std::shared_ptr< PaidMediaVideo > > value

Detailed Description

This object describes paid media. Currently, it can be one of PaidMediaLivePhoto PaidMediaPhoto PaidMediaPreview PaidMediaVideo.

Definition at line 10167 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::PaidMedia::Ptr = std::shared_ptr<PaidMedia>

Definition at line 10168 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<PaidMediaLivePhoto>, std::shared_ptr<PaidMediaPhoto>, std::shared_ptr<PaidMediaPreview>, std::shared_ptr<PaidMediaVideo> > TgBot::PaidMedia::value

Definition at line 10172 of file Types.h.


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