MadelineProtoDocs/old_docs/API_docs_v102/constructors/updateUserPinnedMessage.md
2019-12-27 17:48:04 +01:00

848 B

title description image
updateUserPinnedMessage A message was pinned in a private chat with a user https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateUserPinnedMessage

Back to constructors index

A message was pinned in a private chat with a user

Attributes:

Name Type Required Description
user_id int Yes User that pinned the message
id int Yes Message ID that was pinned

Type: Update

Example:

$updateUserPinnedMessage = ['_' => 'updateUserPinnedMessage', 'user_id' => int, 'id' => int];

Or, if you're into Lua:

updateUserPinnedMessage={_='updateUserPinnedMessage', user_id=int, id=int}