stories.editStory
Edit an uploaded story
Edit an uploaded [story](https://core.telegram.org/api/stories.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Peer where the story was posted. |
id | int | Ja | ID of story to edit. |
media | InputMedia | Nein | If specified, replaces the story media. |
media_areas | Vector<MediaArea> | Nein | [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 | Nein | If specified, replaces the story caption. |
entities | Vector<MessageEntity> | Nein | [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> | Nein | 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 | Nein | If set, the new audio track to play as background music for the story. |
Antworten
Updates
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
- 400 · STORY_NOT_MODIFIED — Die neuen Story-Informationen, die Sie übergeben haben, stimmen mit den vorherigen Story-Informationen überein und wurden daher nicht geändert.