2019-05-03 21:10:09 +02:00
|
|
|
---
|
|
|
|
title: messageActionPinMessage
|
2019-12-27 17:48:04 +01:00
|
|
|
description: A message was pinned
|
2019-05-03 21:10:09 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: messageActionPinMessage
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
A message was pinned
|
2019-05-03 21:10:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [MessageAction](../types/MessageAction.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$messageActionPinMessage = ['_' => 'messageActionPinMessage'];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
messageActionPinMessage={_='messageActionPinMessage'}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|