MadelineProtoDocs/old_docs/API_docs_v34/constructors/updateUserPinnedMessage.md
2020-06-16 17:50:25 +02: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}