repostStory
Repost a story from one managed business account to another with the same bot. Set the source chat, story ID, and active period; optionally protect content or keep it accessible after expiry.
Instructions
Reposts a story from one managed business account to another. Both accounts must be managed by the same bot. Requires the can_manage_stories business bot right for both accounts. Returns a Story object on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_chat_id | Yes | Unique identifier of the chat from which the story was originally posted | |
| active_period | Yes | Period in seconds during which the reposted story will be visible; must be one of 21600 (6 hours), 43200 (12 hours), 86400 (24 hours), or 172800 (48 hours). | |
| from_story_id | Yes | Unique identifier of the story to repost | |
| protect_content | No | Pass True if the content of the reposted story must be protected from forwarding and screenshotting. | |
| post_to_chat_page | No | Pass True to keep the reposted story accessible after it expires. | |
| business_connection_id | Yes | Unique identifier of the business connection on behalf of which to repost the story |