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}