pin_message
Pin a message to the top of a conversation for all participants, with optional expiry or until unpinned. Requires moderator rights to highlight important announcements.
Instructions
Pin a message to the top of the conversation for everyone. Needs moderator rights.
Pinned messages are listed by list_shared_items with item_type "pinned".
Args: token: The conversation token. message_id: The message to pin. until: When the pin should expire, as an ISO 8601 time with time zone (default: until someone unpins it). Talk removes expired pins on its next background job run.
Returns: JSON with the pinned message, or a note that it was already pinned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| until | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |