stories.togglePinned

Pin or unpin one or more stories

 Method schema is available as of layer 164. Switch ยป

Parameters

Name Type Description
peer InputPeer Peer where to pin or unpin stories
id Vector<int> IDs of stories to pin or unpin
pinned Bool Whether to pin or unpin the stories

Result

Vector<int>

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.