stories.editStory
Edit an uploaded story
Edit an uploaded [story](https://core.telegram.org/api/stories.md)
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | Peer where the story was posted. |
id | int | はい | ID of story to edit. |
media | InputMedia | いいえ | If specified, replaces the story media. |
media_areas | Vector<MediaArea> | いいえ | [Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info. |
caption | string | いいえ | If specified, replaces the story caption. |
entities | Vector<MessageEntity> | いいえ | [Message entities for styled text in the caption](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities). |
privacy_rules | Vector<InputPrivacyRule> | いいえ | If specified, alters the [privacy settings »](https://core.telegram.org/api/privacy.md) of the story, changing who can or can't view the story. |
music | InputDocument | いいえ | If set, the new audio track to play as background music for the story. |
レスポンス
Updates
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · STORY_NOT_MODIFIED — The new story information you passed is equal to the previous story information, thus it wasn't modified.