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

1.0 KiB

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
version int Yes Used to reorder updates in legacy groups

Type: Update

Example:

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

Or, if you're into Lua:

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