MadelineProtoDocs/docs/API_docs/constructors/updatePinnedDialogs.md

31 lines
872 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updatePinnedDialogs"
description: "Pinned dialogs were updated"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updatePinnedDialogs
[Back to constructors index](/API_docs/constructors/index.html)
Pinned dialogs were updated
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|folder\_id|[int](/API_docs/types/int.html) | Optional|[Peer folder ID, for more info click here](https://core.telegram.org/api/folders#peer-folders)|
|order|Array of [DialogPeer](/API_docs/types/DialogPeer.html) | Optional|New order of pinned dialogs|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'folder_id' => int, 'order' => [DialogPeer, DialogPeer]];
```