Represents a photo to be sent.
More...
#include <InputMediaPhoto.h>
|
| bool | hasSpoiler |
| | Optional. Pass True if the photo needs to be covered with a spoiler animation.
|
| std::string | type |
| | Type of the result.
|
| std::string | media |
| | File to send.
|
| std::string | caption |
| | Optional. Caption of the media to be sent, 0-1024 characters after entities parsing.
|
| std::string | parseMode |
| | Optional. Mode for parsing entities in the media caption.
|
| std::vector< MessageEntity::Ptr > | captionEntities |
| | Optional. List of special entities that appear in the caption, which can be specified instead of parseMode.
|
|
| static const std::string | TYPE |
Represents a photo to be sent.
Definition at line 15 of file InputMediaPhoto.h.
◆ Ptr
◆ InputMediaPhoto()
| TgBot::InputMediaPhoto::InputMediaPhoto |
( |
| ) |
|
|
inline |
◆ hasSpoiler
| bool TgBot::InputMediaPhoto::hasSpoiler |
Optional. Pass True if the photo needs to be covered with a spoiler animation.
Definition at line 28 of file InputMediaPhoto.h.
◆ TYPE
| const std::string TgBot::InputMediaPhoto::TYPE |
|
static |
The documentation for this class was generated from the following file: