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 | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Peer where to pin stories. |
id | Vector<int> | Yes | 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)). |
Responses
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · STORY_ID_INVALID — The specified story ID is invalid.