MadelineProtoDocs/old_docs/API_docs_v95/constructors/updateDialogPinned.md
2019-12-27 17:48:04 +01:00

798 B

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

Constructor: updateDialogPinned

Back to constructors index

A dialog was pinned/unpinned

Attributes:

Name Type Required Description
pinned Bool Optional Whether the dialog was pinned
peer DialogPeer Yes The dialog

Type: Update

Example:

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

Or, if you're into Lua:

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