Class MessageSearchRequest
public class MessageSearchRequest
- Inheritance
-
objectMessageSearchRequest
- Derived
Properties
AttachmentExtensions
File extensions to filter by.
[JsonProperty("attachment_extension")]
public HashSet<string>? AttachmentExtensions { get; set; }
Property Value
AttachmentFilenames
Attachment filenames to filter by.
[JsonProperty("attachment_filename")]
public HashSet<string>? AttachmentFilenames { get; set; }
Property Value
AuthorId
Author user IDs to filter by.
[JsonProperty("author_id")]
public HashSet<ulong>? AuthorId { get; set; }
Property Value
AuthorTypes
Author types to filter by.
[JsonProperty("author_type")]
public HashSet<string>? AuthorTypes { get; set; }
Property Value
ChannelIds
Channel IDs to search in.
[JsonProperty("channel_id")]
public HashSet<ulong>? ChannelIds { get; set; }
Property Value
Content
Text content to search for.
[JsonProperty("content")]
public string? Content { get; set; }
Property Value
Contents
Multiple content queries to search for.
[JsonProperty("Multiple content queries to search for")]
public HashSet<string>? Contents { get; set; }
Property Value
EmbedProvider
Embed providers to filter by.
[JsonProperty("embed_provider")]
public HashSet<string>? EmbedProvider { get; set; }
Property Value
EmbedType
Embed types to filter by.
[JsonProperty("embed_type")]
public HashSet<string>? EmbedType { get; set; }
Property Value
ExactPhrases
Exact phrases that must appear contiguously in message content.
[JsonProperty("exact_phrases")]
public HashSet<string>? ExactPhrases { get; set; }
Property Value
ExcludeAttachmentExtensions
File extensions to exclude.
[JsonProperty("exclude_attachment_extension")]
public HashSet<string>? ExcludeAttachmentExtensions { get; set; }
Property Value
ExcludeAttachmentFilenames
Attachment filenames to exclude.
[JsonProperty("exclude_attachment_filename")]
public HashSet<string>? ExcludeAttachmentFilenames { get; set; }
Property Value
ExcludeAuthorId
Author user IDs to exclude.
[JsonProperty("exclude_author_id")]
public HashSet<ulong>? ExcludeAuthorId { get; set; }
Property Value
ExcludeAuthorTypes
Author types to exclude.
[JsonProperty("exclude_author_type")]
public HashSet<string>? ExcludeAuthorTypes { get; set; }
Property Value
ExcludeChannelIds
Channel IDs to exclude from search.
[JsonProperty("exclude_channel_id")]
public HashSet<ulong>? ExcludeChannelIds { get; set; }
Property Value
ExcludeContentType
Content types the message must not have.
[JsonProperty("exclude_has")]
public HashSet<string>? ExcludeContentType { get; set; }
Property Value
ExcludeEmbedProvider
Embed providers to exclude.
[JsonProperty("exclude_embed_provider")]
public HashSet<string>? ExcludeEmbedProvider { get; set; }
Property Value
ExcludeEmbedType
Embed types to exclude.
[JsonProperty("exclude_embed_type")]
public HashSet<string>? ExcludeEmbedType { get; set; }
Property Value
ExcludeLinkHostnames
Link hostnames to exclude.
[JsonProperty("exclude_link_hostname")]
public HashSet<string>? ExcludeLinkHostnames { get; set; }
Property Value
ExcludeMentionUserIds
User IDs that must not be mentioned.
[JsonProperty("exclude_mentions")]
public HashSet<ulong>? ExcludeMentionUserIds { get; set; }
Property Value
HasContentType
Content types the message must have.
[JsonProperty("has")]
public HashSet<string>? HasContentType { get; set; }
Property Value
HitsPerPage
Number of results per page (1-25)
[JsonProperty("hits_per_page")]
public int HitsPerPage { get; set; }
Property Value
IncludeNsfw
Whether to include NSFW channel results.
[JsonProperty("include_nsfw")]
public bool? IncludeNsfw { get; set; }
Property Value
- bool?
LinkHostnames
Link hostnames to filter by.
[JsonProperty("link_hostname")]
public HashSet<string>? LinkHostnames { get; set; }
Property Value
MaxId
Maximum message ID to include in results.
[JsonProperty("max_id")]
public ulong? MaxId { get; set; }
Property Value
MentionEveryone
Filter by whether message mentions everyone.
[JsonProperty("mention_everyone")]
public bool? MentionEveryone { get; set; }
Property Value
- bool?
MentionUserIds
User IDs that must be mentioned.
[JsonProperty("mentions")]
public HashSet<ulong>? MentionUserIds { get; set; }
Property Value
MessageSearchScope
This should not be changed when using bots.
[JsonProperty("scope")]
public string? MessageSearchScope { get; set; }
Property Value
MinId
Minimum message ID to include in results.
[JsonProperty("min_id")]
public ulong? MinId { get; set; }
Property Value
Page
Page number for pagination.
[JsonProperty("page")]
public int Page { get; set; }
Property Value
Pinned
Filter by pinned status.
[JsonProperty("pinned")]
public bool? Pinned { get; set; }
Property Value
- bool?
SortBy
Field to sort results by.
[JsonProperty("sort_by")]
public string? SortBy { get; set; }
Property Value
SortOrder
Sort order for results.
[JsonProperty("sort_order")]
public string? SortOrder { get; set; }