Pin some stories to the top of the profile, see here » for more info.
 Method schema is available as of layer 178. Switch »
| Name | Type | Description | 
|---|---|---|
| peer | InputPeer | Peer where to pin stories. | 
| id | Vector<int> | IDs of the stories to pin (max stories_pinned_to_top_count_max). | 
| Code | Type | Description | 
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. | 
| 400 | STORY_ID_INVALID | The specified story ID is invalid. | 
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
Telegram users and channels can easily post and view stories through the API.