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}