2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: updateDialogPinned
|
|
|
|
description: updateDialogPinned attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: updateDialogPinned
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|pinned|[Bool](../types/Bool.md) | Optional|
|
2017-03-11 19:54:51 +01:00
|
|
|
|peer|[Peer](../types/Peer.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => true, 'peer' => Peer, ];
|
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
updateDialogPinned={_='updateDialogPinned', pinned=true, peer=Peer, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|