Sendbird Chat SDK for .NET
SbMessageSearchQueryParams

Params for creating a MessageSearchQuery object. More...

Properties

string Keyword [get, set]
 The keyword to search for. More...
 
string ChannelUrl [get, set]
 The channel url to set as the search scope. More...
 
string ChannelCustomType [get, set]
 The custom type of channel to set as the search scope. More...
 
bool Reverse = false [get, set]
 Whether the search result is set to be reversed or not. More...
 
bool ExactMatch = false [get, set]
 Whether the search query should be an exact match or not. More...
 
long MessageTimestampFrom = 0 [get, set]
 The start message timestamp set as the search range. More...
 
long MessageTimestampTo = 0 [get, set]
 The end message timestamp set as the search range. More...
 
SbMessageSearchQueryOrder Order = SbMessageSearchQueryOrder.Score [get, set]
 The SbMessageSearchQueryOrder of the search. More...
 
bool AdvancedQuery = false [get, set]
 Whether the search query should be an advanced query or not. More...
 
List< string > TargetFields [get, set]
 Target fields of the query to set as the search scope. More...
 
int Limit = SendbirdChatMainContext.QUERY_DEFAULT_LIMIT [get, set]
 The maximum number of BaseMessages per queried page. Defaults to 20. More...
 

Detailed Description

Params for creating a MessageSearchQuery object.

Since
4.0.0

Property Documentation

◆ AdvancedQuery

bool AdvancedQuery = false
getset

Whether the search query should be an advanced query or not.

Since
4.0.0

◆ ChannelCustomType

string ChannelCustomType
getset

The custom type of channel to set as the search scope.

Since
4.0.0

◆ ChannelUrl

string ChannelUrl
getset

The channel url to set as the search scope.

Since
4.0.0

◆ ExactMatch

bool ExactMatch = false
getset

Whether the search query should be an exact match or not.

Since
4.0.0

◆ Keyword

string Keyword
getset

The keyword to search for.

Since
4.0.0

◆ Limit

int Limit = SendbirdChatMainContext.QUERY_DEFAULT_LIMIT
getset

The maximum number of BaseMessages per queried page. Defaults to 20.

Since
4.0.0

◆ MessageTimestampFrom

long MessageTimestampFrom = 0
getset

The start message timestamp set as the search range.

Since
4.0.0

◆ MessageTimestampTo

long MessageTimestampTo = 0
getset

The end message timestamp set as the search range.

Since
4.0.0

◆ Order

The SbMessageSearchQueryOrder of the search.

Since
4.0.0

◆ Reverse

bool Reverse = false
getset

Whether the search result is set to be reversed or not.

Since
4.0.0

◆ TargetFields

List<string> TargetFields
getset

Target fields of the query to set as the search scope.

Since
4.0.0