Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Latest commit

 

History

History
31 lines (26 loc) · 626 Bytes

File metadata and controls

31 lines (26 loc) · 626 Bytes

Command: message_unpin

Request:

{
  "cmd": "message_unpin",
  "channel": "<channel_name>",
  "id": "<message_id>"
}
  • channel: Channel name.
  • id: Message ID.

Response:

  • On success:
{
  "cmd": "message_unpin",
  "id": "<message_id>",
  "channel": "<channel_name>",
  "pinned": false
}

Notes:

  • User must be authenticated and have access to the channel.
  • User must have permission to pin messages in the channel or be the owner.

See implementation: handlers/message.py (search for case "message_unpin":).