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

928 B

title description image
updateChatPinnedMessage A message was pinned in a [legacy group](https://core.telegram.org/api/channel) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatPinnedMessage

Back to constructors index

A message was pinned in a legacy group

Attributes:

Name Type Required Description
chat_id int Yes Legacy group ID
id int Yes ID of pinned message

Type: Update

Example:

$updateChatPinnedMessage = ['_' => 'updateChatPinnedMessage', 'chat_id' => int, 'id' => int];

Or, if you're into Lua:

updateChatPinnedMessage={_='updateChatPinnedMessage', chat_id=int, id=int}