MadelineProtoDocs/old_docs/API_docs_v75/constructors/updatePinnedDialogs.md

766 B

title description image
updatePinnedDialogs updatePinnedDialogs attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updatePinnedDialogs

Back to constructors index

Attributes:

Name Type Required
order Array of Peer Optional

Type: Update

Example:

$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]];

PWRTelegram json-encoded version:

{"_": "updatePinnedDialogs", "order": [Peer]}

Or, if you're into Lua:

updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}}