MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateDialogPinned.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

889 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?
peer DialogPeer Yes Peer

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateDialogPinned", "pinned": Bool, "peer": DialogPeer}

Or, if you're into Lua:

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