postStory
Create and publish a story for a managed business account by supplying connection ID, story content, and active period. Requires the can_manage_stories right and returns the created Story object.
Instructions
Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns a Story object on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| areas | No | A list of StoryArea objects to be shown on the story. | |
| caption | No | Caption for the story; 0-2048 characters | |
| content | Yes | Content of the story. Must be an InputStoryContent object (InputStoryContentPhoto or InputStoryContentVideo). | |
| parse_mode | No | Mode for parsing entities in the caption. See formatting options for more details. | |
| active_period | Yes | Period in seconds during which the story will be visible; must be one of 21600 (6 hours), 43200 (12 hours), 86400 (24 hours), or 172800 (48 hours). | |
| protect_content | No | Pass True if the content of the story must be protected from forwarding and screenshotting. | |
| caption_entities | No | A list of special entities that appear in the caption, which can be specified instead of parse_mode. | |
| post_to_chat_page | No | Pass True to keep the story accessible after it expires. | |
| business_connection_id | Yes | Unique identifier of the business connection |