MessageSearchOptions
typedef · SourceType: object
Properties
authors
optional
An array of author to filter by
mentions
optional
An array of user (mentioned) to filter by
content
optional
A messageContent to filter by
maxId
optional
The maximum Message ID to filter by
minId
optional
The minimum Message ID to filter by
channels
optional
An array of channel to filter by
pinned
optional
Whether to filter by pinned messages
has
optional
Message has: link, embed, file, video, image, or sound
nsfw
optional
Whether to filter by NSFW channels
Default: false
offset
optional
The number of messages to skip (for pagination, 25 results per page)
Default: 0
limit
optional
The number of messages to fetch The maximum limit allowed is 25.
Default: 25
sortBy
optional
The order to sort by (timestamp or relevance)
sortOrder
optional
The order to return results in (asc or desc) The default sort is <code>timestamp</code> in descending order <code>desc</code> (newest first).