Table of Contents
API reference

Class DiscordGuildMessageSearchParams

Namespace
DisCatSharp.Experimental.Entities
Assembly
DisCatSharp.Experimental.dll

Represents the parameters for searching messages in a guild.

public sealed class DiscordGuildMessageSearchParams
Inheritance
DiscordGuildMessageSearchParams
Inherited Members

Properties

AttachmentExtensions

Gets or sets the list of attachment extensions to filter by.

AttachmentFilename

Gets or sets the attachment filename to filter by.

AuthorIds

Gets or sets the list of author IDs to filter by.

AuthorTypes

Gets or sets the list of author types to filter by.

ChannelIds

Gets or sets the list of channel IDs to filter by.

CommandId

Gets or sets the command ID to filter by.

CommandName

Gets or sets the command name to filter by.

Content

Gets or sets the content to search for.

Contents

Gets or sets the list of contents to search for.

Cursor

Gets or sets the cursor for pagination.

EmbedProviders

Gets or sets the list of embed providers to filter by.

EmbedTypes

Gets or sets the list of embed types to filter by.

Has

Gets or sets the list of "has" options to filter by.

IncludeNsfw

Gets or sets a value indicating whether to include NSFW content.

Limit

Gets or sets the limit of results to return.

LinkHostnames

Gets or sets the list of link hostnames to filter by.

MaxId

Gets or sets the maximum message ID to filter by.

MentionEveryone

Gets or sets a value indicating whether to filter by @everyone mentions.

Mentions

Gets or sets the list of mentions to filter by.

MinId

Gets or sets the minimum message ID to filter by.

Offset

Gets or sets the offset for pagination.

Pinned

Gets or sets a value indicating whether to filter by pinned messages.

RepliedToMessageId

Gets or sets the list of guild IDs to filter by.

Slop

Gets or sets the slop value. Slop comes from elasticsearch and is used to allow for flexibility in matching.

SortBy

Gets or sets the sorting mode.

SortOrder

Gets or sets the sorting order.