Arguments for Api::repostStory.
More...
#include <Types.h>
|
| std::uint32_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::uint32_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 18230 of file Types.h.
◆ activePeriod
| std::uint32_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 18235 of file Types.h.
◆ businessConnectionId
| std::string TgBot::RepostStoryArgs::businessConnectionId { } |
Unique identifier of the business connection.
Definition at line 18240 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 18246 of file Types.h.
◆ fromStoryId
| std::uint32_t TgBot::RepostStoryArgs::fromStoryId { } |
Unique identifier of the story that should be reposted.
Definition at line 18251 of file Types.h.
◆ postToChatPage
| bool TgBot::RepostStoryArgs::postToChatPage = false |
Pass True to keep the story accessible after it expires.
Definition at line 18256 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 18262 of file Types.h.
The documentation for this struct was generated from the following file: