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

Arguments for Api::editStory. More...

#include <Types.h>

Public Attributes

std::string businessConnectionId { }
 Unique identifier of the business connection.
std::shared_ptr< InputStoryContent > content { }
 Content of the story.
std::int32_t storyId { }
 Unique identifier of the story to edit.
std::vector< std::shared_ptr< StoryArea > > areas = { }
 A JSON-serialized list of clickable areas to be shown on the story.
std::string caption = ""
 Caption of the story, 0-2048 characters after entities parsing.
std::vector< std::shared_ptr< MessageEntity > > captionEntities = { }
 A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode.
std::string parseMode = ""
 Mode for parsing entities in the story caption. See formatting options for more details.
std::vector< InputFileAttachment > attachments = { }
 Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Detailed Description

Arguments for Api::editStory.

Definition at line 16075 of file Types.h.

Member Data Documentation

◆ areas

std::vector<std::shared_ptr<StoryArea> > TgBot::EditStoryArgs::areas = { }

A JSON-serialized list of clickable areas to be shown on the story.

Definition at line 16094 of file Types.h.

◆ attachments

std::vector<InputFileAttachment> TgBot::EditStoryArgs::attachments = { }

Files uploaded as named multipart parts. Reference each file from a composite Telegram API argument as attach://<name> and use the same name in InputFileAttachment.

Definition at line 16118 of file Types.h.

◆ businessConnectionId

std::string TgBot::EditStoryArgs::businessConnectionId { }

Unique identifier of the business connection.

Definition at line 16079 of file Types.h.

◆ caption

std::string TgBot::EditStoryArgs::caption = ""

Caption of the story, 0-2048 characters after entities parsing.

Definition at line 16099 of file Types.h.

◆ captionEntities

std::vector<std::shared_ptr<MessageEntity> > TgBot::EditStoryArgs::captionEntities = { }

A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode.

Definition at line 16105 of file Types.h.

◆ content

std::shared_ptr<InputStoryContent> TgBot::EditStoryArgs::content { }

Content of the story.

Definition at line 16084 of file Types.h.

◆ parseMode

std::string TgBot::EditStoryArgs::parseMode = ""

Mode for parsing entities in the story caption. See formatting options for more details.

Definition at line 16111 of file Types.h.

◆ storyId

std::int32_t TgBot::EditStoryArgs::storyId { }

Unique identifier of the story to edit.

Definition at line 16089 of file Types.h.


The documentation for this struct was generated from the following file: