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
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
Messages
Gets an array of messages that match the query
public IReadOnlyCollection<IMessage> Messages { get; }
Property Value
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
Threads
Gets the threads that contain the returned messages.
public IReadOnlyCollection<IThreadChannel> Threads { get; }
Property Value
TotalResults
Gets the total number of results that match the query.
public int TotalResults { get; }