Table of Contents

Class GuildMessageSearchData

Namespace
Discord
Assembly
Discord.Net.Core.dll
public class GuildMessageSearchData
Inheritance
GuildMessageSearchData
Inherited Members

Properties

DocumentsIndexed

Gets the number of documents that have been indexed during the current index operation, if any.

public int? DocumentsIndexed { get; }

Property Value

int?

DoingDeepHistoricalIndex

Gets whether the guild is undergoing a deep historical indexing operation.

public bool DoingDeepHistoricalIndex { get; }

Property Value

bool

IndexNotYetAvailable

Gets whether the index is not yet available for the guild. If true, the search results will be empty and the client should retry after the delay specified in RetryAfter.

public bool IndexNotYetAvailable { get; }

Property Value

bool

Messages

Gets an array of messages that match the query

public IReadOnlyCollection<IMessage> Messages { get; }

Property Value

IReadOnlyCollection<IMessage>

RetryAfter

Gets the delay in seconds before the data should become available, if the index is not yet available. This field is only present when IndexNotYetAvailable is true.

public int? RetryAfter { get; }

Property Value

int?

Remarks

null if the index is available.

ThreadMembers

Gets a thread member object for each returned thread the current user has joined.

public IReadOnlyCollection<IThreadUser> ThreadMembers { get; }

Property Value

IReadOnlyCollection<IThreadUser>

Threads

Gets the threads that contain the returned messages.

public IReadOnlyCollection<IThreadChannel> Threads { get; }

Property Value

IReadOnlyCollection<IThreadChannel>

TotalResults

Gets the total number of results that match the query.

public int TotalResults { get; }

Property Value

int