Rocket.Chat Extended icon

Rocket.Chat Extended

Extended Rocket.Chat operations: channels, messages, threads, reactions, file upload, and more

Message → Pin

AI-generated

Summary

Pin a message in a channel or DM

Inputs

  • messageId (required) — The ID of the message to pin

Output shape

a single record representing the pinned message

The response contains the pinned message object; may include only the fields of the message and may vary by server version.

Examples

Example 1: Pin a message in a channel

resource: Message, operation: Pin, parameters: {"messageId": "12345"}

Example 2: Pin a message in a direct message

resource: Message, operation: Pin, parameters: {"messageId": "dm-67890"}

Links

Discussion