MadelineProtoDocs/old_docs/API_docs_v91/constructors/updateChatPinnedMessage.md
2019-03-08 13:49:23 +01:00

886 B

title description image
updateChatPinnedMessage Update chat pinned message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatPinnedMessage

Back to constructors index

Update chat pinned message

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
id int Yes ID

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateChatPinnedMessage", "chat_id": int, "id": int}

Or, if you're into Lua:

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