---
title: messageActionPinMessage
description: A message was pinned
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionPinMessage  
[Back to constructors index](index.md)



A message was pinned




### Type: [MessageAction](../types/MessageAction.md)


### Example:

```php
$messageActionPinMessage = ['_' => 'messageActionPinMessage'];
```  


Or, if you're into Lua:

```lua
messageActionPinMessage={_='messageActionPinMessage'}

```


