stories.togglePinnedToTop
Pin some stories to the top of the profile, see here » for more info.
Pin some stories to the top of the profile, see [here »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) for more info.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Peer where to pin stories. |
id | Vector<int> | Ja | IDs of the stories to pin (max [stories_pinned_to_top_count_max](https://core.telegram.org/api/config.md#stories-pinned-to-top-count-max)). |
Antworten
Bool
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
- 400 · STORY_ID_INVALID – Die angegebene Story-ID ist ungültig.