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

Describes a photo to post as a story. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<InputStoryContentPhoto>

Public Attributes

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 »

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Describes a photo to post as a story.

Definition at line 8034 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8035 of file Types.h.

Member Data Documentation

◆ 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

Definition at line 8037 of file Types.h.

◆ 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: