Arguments for Api::repostStory.
More...
#include <Types.h>
|
| std::int32_t | activePeriod { } |
| | Period after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400.
|
| std::string | businessConnectionId { } |
| | Unique identifier of the business connection.
|
| std::variant< std::int64_t, std::string > | fromChatId { } |
| | Unique identifier of the chat which posted the story that should be reposted.
|
| std::int32_t | fromStoryId { } |
| | Unique identifier of the story that should be reposted.
|
| bool | postToChatPage = false |
| | Pass True to keep the story accessible after it expires.
|
| bool | protectContent = false |
| | Pass True if the content of the story must be protected from forwarding and screenshotting.
|
Arguments for Api::repostStory.
Definition at line 17300 of file Types.h.
◆ activePeriod
| std::int32_t TgBot::RepostStoryArgs::activePeriod { } |
Period after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400.
Definition at line 17305 of file Types.h.
◆ businessConnectionId
| std::string TgBot::RepostStoryArgs::businessConnectionId { } |
Unique identifier of the business connection.
Definition at line 17310 of file Types.h.
◆ fromChatId
| std::variant<std::int64_t, std::string> TgBot::RepostStoryArgs::fromChatId { } |
Unique identifier of the chat which posted the story that should be reposted.
Definition at line 17316 of file Types.h.
◆ fromStoryId
| std::int32_t TgBot::RepostStoryArgs::fromStoryId { } |
Unique identifier of the story that should be reposted.
Definition at line 17321 of file Types.h.
◆ postToChatPage
| bool TgBot::RepostStoryArgs::postToChatPage = false |
Pass True to keep the story accessible after it expires.
Definition at line 17326 of file Types.h.
◆ protectContent
| bool TgBot::RepostStoryArgs::protectContent = false |
Pass True if the content of the story must be protected from forwarding and screenshotting.
Definition at line 17332 of file Types.h.
The documentation for this struct was generated from the following file: