Describes a photo to post as a story.
More...
#include <Types.h>
|
| std::string | type { TYPE } |
| | Type of the content, must be photo.
|
| std::string | photo { } |
| | The photo to post as a story. The photo must be of the size 1080x1920 and must not exceed 10 MB. The photo can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form- data under <file_attach_name>. More information on Sending Files »
|
Describes a photo to post as a story.
Definition at line 8034 of file Types.h.
◆ Ptr
◆ photo
| std::string TgBot::InputStoryContentPhoto::photo { } |
The photo to post as a story. The photo must be of the size 1080x1920 and must not exceed 10 MB. The photo can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form- data under <file_attach_name>. More information on Sending Files »
Definition at line 8050 of file Types.h.
◆ TYPE
| TGBOT_API const std::string TgBot::InputStoryContentPhoto::TYPE |
|
static |
◆ type
| std::string TgBot::InputStoryContentPhoto::type { TYPE } |
Type of the content, must be photo.
Definition at line 8042 of file Types.h.
The documentation for this struct was generated from the following file: