A block with a photo, corresponding to the HTML tag.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the block, always “photo”
|
| std::vector< std::shared_ptr< PhotoSize > > | photo { } |
| | Available sizes of the photo.
|
| std::optional< bool > | hasSpoiler { } |
| | Optional. True, if the media preview is covered by a spoiler animation.
|
| std::shared_ptr< RichBlockCaption > | caption { } |
| | Optional. Caption of the block.
|
A block with a photo, corresponding to the HTML tag.
.
Definition at line 12074 of file Types.h.
◆ Ptr
◆ caption
Optional. Caption of the block.
Definition at line 12097 of file Types.h.
◆ hasSpoiler
| std::optional<bool> TgBot::RichBlockPhoto::hasSpoiler { } |
Optional. True, if the media preview is covered by a spoiler animation.
Definition at line 12092 of file Types.h.
◆ photo
| std::vector<std::shared_ptr<PhotoSize> > TgBot::RichBlockPhoto::photo { } |
Available sizes of the photo.
Definition at line 12087 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::RichBlockPhoto::TYPE |
|
static |
◆ type
| std::string TgBot::RichBlockPhoto::type { TYPE } |
Type of the block, always “photo”
Definition at line 12082 of file Types.h.
The documentation for this struct was generated from the following file: