Sendbird Chat SDK for Unity
SbPreviousMessageListQueryParams

Params for creating a SbPreviousMessageListQuery object. More...

Properties

bool Reverse = false [get, set]
 Indicates whether the queried result will be reversed. If true, the result will be returned by creation time descending order. More...
 
SbMessageTypeFilter MessageTypeFilter = SbMessageTypeFilter.All [get, set]
 Message type filter. SbMessageTypeFilter More...
 
List< string > CustomTypesFilter [get, set]
 The custom type filter of the message. When set, only messages with customType that equals to one of customTypes will be returned. When a customType is an empty string (""), all messages without a custom type will be returned. More...
 
List< string > SenderUserIdsFilter [get, set]
 Sender user ids filter. More...
 
bool IncludeMetaArray = false [get, set]
 Determines whether to include the metaarray information of the messages in the results. Default is false More...
 
bool IncludeReactions = false [get, set]
 Determines whether to include the reactions to the messages in the results. Default is false More...
 
bool IncludeThreadInfo = false [get, set]
 Determines whether to include the thread information of the messages in the results when the results contain root messages. Default is false More...
 
bool IncludeParentMessageInfo = false [get, set]
 Determines whether to include parent message info. Default is false More...
 
SbReplyType ReplyType = SbReplyType.None [get, set]
 Determines the reply types to include in the results. More...
 
bool ShowSubChannelMessagesOnly = false [get, set]
 If set to true, only messages that belong to current user's subchannel is fetched. If set to false, all messages will be fetched. Default is false. Takes effect only when the requested channel is a dynamically partitioned open channel. More...
 
int Limit = SendbirdChatMainContext.QUERY_DEFAULT_LIMIT [get, set]
 The maximum number of items per queried page. More...
 

Detailed Description

Params for creating a SbPreviousMessageListQuery object.

Since
4.0.0

Property Documentation

◆ CustomTypesFilter

List<string> CustomTypesFilter
getset

The custom type filter of the message. When set, only messages with customType that equals to one of customTypes will be returned. When a customType is an empty string (""), all messages without a custom type will be returned.

Since
4.0.0

◆ IncludeMetaArray

bool IncludeMetaArray = false
getset

Determines whether to include the metaarray information of the messages in the results. Default is false

Since
4.0.0

◆ IncludeParentMessageInfo

bool IncludeParentMessageInfo = false
getset

Determines whether to include parent message info. Default is false

Since
4.0.0

◆ IncludeReactions

bool IncludeReactions = false
getset

Determines whether to include the reactions to the messages in the results. Default is false

Since
4.0.0

◆ IncludeThreadInfo

bool IncludeThreadInfo = false
getset

Determines whether to include the thread information of the messages in the results when the results contain root messages. Default is false

Since
4.0.0

◆ Limit

int Limit = SendbirdChatMainContext.QUERY_DEFAULT_LIMIT
getset

The maximum number of items per queried page.

Since
4.0.0

◆ MessageTypeFilter

SbMessageTypeFilter MessageTypeFilter = SbMessageTypeFilter.All
getset

Message type filter. SbMessageTypeFilter

Since
4.0.0

◆ ReplyType

SbReplyType ReplyType = SbReplyType.None
getset

Determines the reply types to include in the results.

Since
4.0.0

◆ Reverse

bool Reverse = false
getset

Indicates whether the queried result will be reversed. If true, the result will be returned by creation time descending order.

Since
4.0.0

◆ SenderUserIdsFilter

List<string> SenderUserIdsFilter
getset

Sender user ids filter.

Since
4.0.0

◆ ShowSubChannelMessagesOnly

bool ShowSubChannelMessagesOnly = false
getset

If set to true, only messages that belong to current user's subchannel is fetched. If set to false, all messages will be fetched. Default is false. Takes effect only when the requested channel is a dynamically partitioned open channel.

Since
4.0.0