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

This object represents the content of a poll option to be sent. It should be one of InputMediaAnimation InputMediaLink InputMediaLivePhoto InputMediaLocation InputMediaPhoto InputMediaSticker InputMediaVenue InputMediaVideo. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputPollOptionMedia>

Public Attributes

std::variant< std::shared_ptr< InputMediaAnimation >, std::shared_ptr< InputMediaLink >, std::shared_ptr< InputMediaLivePhoto >, std::shared_ptr< InputMediaLocation >, std::shared_ptr< InputMediaPhoto >, std::shared_ptr< InputMediaSticker >, std::shared_ptr< InputMediaVenue >, std::shared_ptr< InputMediaVideo > > value

Detailed Description

This object represents the content of a poll option to be sent. It should be one of InputMediaAnimation InputMediaLink InputMediaLivePhoto InputMediaLocation InputMediaPhoto InputMediaSticker InputMediaVenue InputMediaVideo.

Definition at line 7148 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 7149 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<InputMediaAnimation>, std::shared_ptr<InputMediaLink>, std::shared_ptr<InputMediaLivePhoto>, std::shared_ptr<InputMediaLocation>, std::shared_ptr<InputMediaPhoto>, std::shared_ptr<InputMediaSticker>, std::shared_ptr<InputMediaVenue>, std::shared_ptr<InputMediaVideo> > TgBot::InputPollOptionMedia::value

Definition at line 7155 of file Types.h.


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