Constructor: updateChatPinnedMessage

Back to constructors index

A message was pinned in a legacy group


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


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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.