924 B
924 B
title | description | image |
---|---|---|
updateDialogPinned | A dialog was pinned/unpinned | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateDialogPinned
A dialog was pinned/unpinned
Attributes:
Name | Type | Required | Description |
---|---|---|---|
pinned | Bool | Optional | Whether the dialog was pinned |
folder_id | int | Optional | If the dialog is in a folder, the folder ID |
peer | DialogPeer | Yes | The dialog |
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}