pin_message
Pin a specific message to a channel's pinned posts section using its unique post ID.
Instructions
Pin a message in a channel.
Pinned messages appear in the channel's pinned posts section. Pinning an already pinned message has no additional effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | 26-character post/message identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique post identifier | |
| type | Yes | Post type (empty for regular posts) | |
| edit_at | Yes | Last edit timestamp | |
| message | Yes | Post content (supports Markdown) | |
| root_id | Yes | Root post ID if in thread | |
| user_id | Yes | Author user identifier | |
| file_ids | Yes | Attached file IDs | |
| hashtags | Yes | Space-separated hashtags | |
| create_at | Yes | Creation timestamp in milliseconds | |
| delete_at | Yes | Deletion timestamp (0 if not deleted) | |
| is_pinned | Yes | Whether post is pinned | |
| update_at | Yes | Last update timestamp in milliseconds | |
| channel_id | Yes | Channel where posted | |
| original_id | Yes | Original post ID if edited | |
| pending_post_id | Yes | Client-side pending ID |