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.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | Peer where to pin stories. |
id | Vector<int> | はい | 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)). |
レスポンス
Bool
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 400 · STORY_ID_INVALID — The specified story ID is invalid.