Pin or unpin a saved message dialog ».
Method schema is available as of layer 170. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
pinned | flags.0?true | Whether to pin or unpin the dialog |
peer | InputDialogPeer | The dialog to pin |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
The Saved Messages chat allows users to bookmark messages and media: it's a personal cloud storage for any messages or media you may want to send or forward there.