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

This object represents the content of a media message to be sent. It should be one of InputMediaAnimation InputMediaAudio InputMediaDocument InputMediaLivePhoto InputMediaPhoto InputMediaVideo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputMedia>

Public Attributes

std::variant< std::shared_ptr< InputMediaAnimation >, std::shared_ptr< InputMediaAudio >, std::shared_ptr< InputMediaDocument >, std::shared_ptr< InputMediaLivePhoto >, std::shared_ptr< InputMediaPhoto >, std::shared_ptr< InputMediaVideo > > value

Detailed Description

This object represents the content of a media message to be sent. It should be one of InputMediaAnimation InputMediaAudio InputMediaDocument InputMediaLivePhoto InputMediaPhoto InputMediaVideo.

Definition at line 6298 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 6299 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<InputMediaAnimation>, std::shared_ptr<InputMediaAudio>, std::shared_ptr<InputMediaDocument>, std::shared_ptr<InputMediaLivePhoto>, std::shared_ptr<InputMediaPhoto>, std::shared_ptr<InputMediaVideo> > TgBot::InputMedia::value

Definition at line 6304 of file Types.h.


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