|
tgbot-cpp
|
Describes a media element embedded in an outgoing rich message. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<InputRichMessageMedia> |
Public Attributes | |
| std::string | id { } |
| Unique identifier of the media used in a tg://photo?id=, tg://video?id=, or tg://audio?id= link. 1-64 characters, only A-Z, a-z, 0-9, _ and - are allowed. | |
| std::variant< std::shared_ptr< InputMediaAnimation >, std::shared_ptr< InputMediaAudio >, std::shared_ptr< InputMediaPhoto >, std::shared_ptr< InputMediaVideo >, std::shared_ptr< InputMediaVoiceNote > > | media { } |
| The media to be sent. Everything except the media itself and its properties is ignored. | |
Describes a media element embedded in an outgoing rich message.
| using TgBot::InputRichMessageMedia::Ptr = std::shared_ptr<InputRichMessageMedia> |
| std::string TgBot::InputRichMessageMedia::id { } |
| std::variant<std::shared_ptr<InputMediaAnimation>, std::shared_ptr<InputMediaAudio>, std::shared_ptr<InputMediaPhoto>, std::shared_ptr<InputMediaVideo>, std::shared_ptr<InputMediaVoiceNote> > TgBot::InputRichMessageMedia::media { } |