Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Message → Pin
AI-generatedSummary
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"}