Actions60
- User Actions
- Channel Actions
- Accept Invite
- Add Members
- Add Moderators
- Archive
- Ban User
- Create
- Delete
- Delete File
- Delete Image
- Demote Moderators
- Disable Slow Mode
- Enable Slow Mode
- Get Config
- Hide
- Invite Members
- Mark Read
- Mark Unread
- Mute
- Mute Status
- Pin
- Query Channels
- Query Members
- Reject Invite
- Remove Members
- Send Action
- Send File
- Send Image
- Show
- Stop Watching
- Truncate
- Unarchive
- Unban User
- Unmute
- Unpin
- Update
- Watch
- Message Actions
- Moderation Actions
Message → Search
AI-generatedSummary
Search messages within a specific Stream Chat channel by querying message text content.
Inputs
- Channel CID — The channel identifier in the format "type:id" (e.g., "messaging:general"). This specifies the channel to search in.
- Search Query — The text query to search for in messages. Supports partial word matching and keyword usage for more precise results.
Output shape
a list of messages matching the search query within the specified channel.
The search operation returns an array of messages that match the given search query text in the specified channel. If the Channel CID or Search Query is omitted, behavior depends on the Stream Chat API defaults and may return no results or all messages.