Message Metadata Queries
Content: Message Metadata Queries
User Intent
Operation
Message Metadata Structure
interface MessageMetadata {
identifier: string; // Message ID
conversationIdentifier: string; // Thread/conversation ID
channelIdentifier: string; // Channel ID
channelName: string; // Channel name
author: PersonReference; // Message author
mentions: PersonReference[]; // @mentioned users
attachmentCount: number;
links: string[]; // URLs in message
}TypeScript (Canonical)
Query Patterns
1. Filter by Channel
2. Find by Author
3. Find Mentions
4. Thread/Conversation Queries
5. Messages with Links
6. Messages with Attachments
7. Channel Activity Analysis
8. Collaboration Patterns
Query messages
From specific feed
Access metadata
Developer Hints
Channel Names are Searchable
Mentions Array
Thread Detection
Common Issues & Solutions
Production Example
Last updated