editStory
Modify an existing Telegram story posted by a bot for a managed business account. Provide the business connection ID, story ID, and new content to update the story's media or caption.
Instructions
Edits a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns a Story object on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"business_connection_id": "<business_connection_id>",
"story_id": "<story_id>",
"content": "<content>"
},
"name": "editStory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| areas | No | A list of StoryArea objects to be shown on the story. | |
| caption | No | New caption for the story; 0-2048 characters | |
| content | Yes | New content of the story. Must be an InputStoryContent object. | |
| story_id | Yes | Unique identifier of the story to edit | |
| parse_mode | No | Mode for parsing entities in the caption. | |
| caption_entities | No | A list of special entities that appear in the caption. | |
| business_connection_id | Yes | Unique identifier of the business connection |