{ "meta": {}, "group": { "title": "Updating messages", "anchor": "updating-messages" }, "object": { "anchor": "poststory", "name": "postStory", "description": "Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success.", "html_description": "

Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns Story on success.

", "rst_description": "Posts a story on behalf of a managed business account. Requires the *can_manage_stories* business bot right. Returns :class:`aiogram.types.story.Story` on success.", "annotations": [ { "type": "String", "required": true, "description": "Unique identifier of the business connection", "html_description": "Unique identifier of the business connection", "rst_description": "Unique identifier of the business connection\n", "name": "business_connection_id" }, { "type": "InputStoryContent", "required": true, "description": "Content of the story", "html_description": "Content of the story", "rst_description": "Content of the story\n", "name": "content" }, { "type": "Integer", "required": true, "description": "Period after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400", "html_description": "Period after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400", "rst_description": "Period after which the story is moved to the archive, in seconds; must be one of :code:`6 * 3600`, :code:`12 * 3600`, :code:`86400`, or :code:`2 * 86400`\n", "name": "active_period" }, { "type": "String", "required": false, "description": "Caption of the story, 0-2048 characters after entities parsing", "html_description": "Caption of the story, 0-2048 characters after entities parsing", "rst_description": "Caption of the story, 0-2048 characters after entities parsing\n", "name": "caption" }, { "type": "String", "required": false, "description": "Mode for parsing entities in the story caption. See formatting options for more details.", "html_description": "Mode for parsing entities in the story caption. See formatting options for more details.", "rst_description": "Mode for parsing entities in the story caption. See `formatting options `_ for more details.\n", "name": "parse_mode" }, { "type": "Array of MessageEntity", "required": false, "description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode", "html_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode", "rst_description": "A JSON-serialized list of special entities that appear in the caption, which can be specified instead of *parse_mode*\n", "name": "caption_entities" }, { "type": "Array of StoryArea", "required": false, "description": "A JSON-serialized list of clickable areas to be shown on the story", "html_description": "A JSON-serialized list of clickable areas to be shown on the story", "rst_description": "A JSON-serialized list of clickable areas to be shown on the story\n", "name": "areas" }, { "type": "Boolean", "required": false, "description": "Pass True to keep the story accessible after it expires", "html_description": "Pass True to keep the story accessible after it expires", "rst_description": "Pass :code:`True` to keep the story accessible after it expires\n", "name": "post_to_chat_page" }, { "type": "Boolean", "required": false, "description": "Pass True if the content of the story must be protected from forwarding and screenshotting", "html_description": "Pass True if the content of the story must be protected from forwarding and screenshotting", "rst_description": "Pass :code:`True` if the content of the story must be protected from forwarding and screenshotting\n", "name": "protect_content" } ], "category": "methods" } }