At most one of the optional fields can be present in any given object.
More...
#include <Types.h>
|
| std::shared_ptr< Animation > | animation { } |
| | Optional. Media is an animation, information about the animation.
|
| std::shared_ptr< Audio > | audio { } |
| | Optional. Media is an audio file, information about the file; currently, can't be received in a poll option.
|
| std::shared_ptr< Document > | document { } |
| | Optional. Media is a general file, information about the file; currently, can't be received in a poll option.
|
| std::shared_ptr< Link > | link { } |
| | Optional. The HTTP link attached to the poll option.
|
| std::shared_ptr< LivePhoto > | livePhoto { } |
| | Optional. Media is a live photo, information about the live photo.
|
| std::shared_ptr< Location > | location { } |
| | Optional. Media is a shared location, information about the location.
|
| std::optional< std::vector< std::shared_ptr< PhotoSize > > > | photo { } |
| | Optional. Media is a photo, available sizes of the photo.
|
| std::shared_ptr< Sticker > | sticker { } |
| | Optional. Media is a sticker, information about the sticker; currently, for poll options only.
|
| std::shared_ptr< Venue > | venue { } |
| | Optional. Media is a venue, information about the venue.
|
| std::shared_ptr< Video > | video { } |
| | Optional. Media is a video, information about the video.
|
At most one of the optional fields can be present in any given object.
Definition at line 10942 of file Types.h.
◆ Ptr
◆ animation
| std::shared_ptr<Animation> TgBot::PollMedia::animation { } |
Optional. Media is an animation, information about the animation.
Definition at line 10948 of file Types.h.
◆ audio
| std::shared_ptr<Audio> TgBot::PollMedia::audio { } |
Optional. Media is an audio file, information about the file; currently, can't be received in a poll option.
Definition at line 10954 of file Types.h.
◆ document
| std::shared_ptr<Document> TgBot::PollMedia::document { } |
Optional. Media is a general file, information about the file; currently, can't be received in a poll option.
Definition at line 10960 of file Types.h.
◆ link
| std::shared_ptr<Link> TgBot::PollMedia::link { } |
Optional. The HTTP link attached to the poll option.
Definition at line 10965 of file Types.h.
◆ livePhoto
| std::shared_ptr<LivePhoto> TgBot::PollMedia::livePhoto { } |
Optional. Media is a live photo, information about the live photo.
Definition at line 10970 of file Types.h.
◆ location
| std::shared_ptr<Location> TgBot::PollMedia::location { } |
Optional. Media is a shared location, information about the location.
Definition at line 10975 of file Types.h.
◆ photo
| std::optional<std::vector<std::shared_ptr<PhotoSize> > > TgBot::PollMedia::photo { } |
Optional. Media is a photo, available sizes of the photo.
Definition at line 10980 of file Types.h.
◆ sticker
| std::shared_ptr<Sticker> TgBot::PollMedia::sticker { } |
Optional. Media is a sticker, information about the sticker; currently, for poll options only.
Definition at line 10986 of file Types.h.
◆ venue
| std::shared_ptr<Venue> TgBot::PollMedia::venue { } |
Optional. Media is a venue, information about the venue.
Definition at line 10991 of file Types.h.
◆ video
| std::shared_ptr<Video> TgBot::PollMedia::video { } |
Optional. Media is a video, information about the video.
Definition at line 10996 of file Types.h.
The documentation for this struct was generated from the following file: