MadelineProtoDocs/old_docs/API_docs_v103/constructors/updateDialogPinned.md
2019-08-15 20:25:16 +02:00

846 B

title description image
updateDialogPinned Update dialog pinned https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateDialogPinned

Back to constructors index

Update dialog pinned

Attributes:

Name Type Required Description
pinned Bool Optional Pinned?
folder_id int Optional Folder ID
peer DialogPeer Yes Peer

Type: Update

Example:

$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'folder_id' => int, 'peer' => DialogPeer];

Or, if you're into Lua:

updateDialogPinned={_='updateDialogPinned', pinned=Bool, folder_id=int, peer=DialogPeer}