v16.3.0
Latest
2020.3+

Class ChatHistoryQueryOptions

Options for ChatHistoryQuery requests. Allows for things like filtering based on specific text, timestamps, or PlayerIds

Inheritance
ChatHistoryQueryOptions
Namespace: Unity.Services.Vivox
Syntax
public sealed class ChatHistoryQueryOptions

Properties

PlayerId

If set only messages to or from the specified PlayerId are returned. Only used in channels queries and will have no affect on a Direct Message query. This is optional. The default setting is null.

Declaration
public string PlayerId { get; set; }
Property Value
TypeDescription
String

SearchText

The text to find in the query. Only messages that contain the specified text are returned. This is optional. The default setting is null.

Declaration
public string SearchText { get; set; }
Property Value
TypeDescription
String

TimeEnd

Exclude all messages after a specified DateTime from the query results. The query results include messages that immediately follow the specified message in the result set. This is optional. The default setting is null.

Declaration
public DateTime? TimeEnd { get; set; }
Property Value
TypeDescription
Nullable<DateTime>

TimeStart

Exclude all messages before a specified DateTime from the query results. This is optional. The default setting is null.

Declaration
public DateTime? TimeStart { get; set; }
Property Value
TypeDescription
Nullable<DateTime>