Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Message → Pin
AI-generatedSummary
Pin a message in a Discord channel
Inputs
- channelId (required) — The ID of the channel containing the message to pin
- messageId (required) — The ID of the message to pin
Output shape
object
Always returns on success; indicates the message was pinned
Examples
Example 1: Pin a message by its ID in a specified channel
Provide the channel ID and message ID; the node fetches the channel, fetches the message, and pins it. The execution result confirms success, the pinned message ID, and that the message is now pinned.