Class MessageSearchParam
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: com.tencent.imsdk.unity.types
Assembly: cs.temp.dll.dll
Syntax
public class MessageSearchParam : ExtraData
Fields
msg_search_param_conv_id
Declaration
public string msg_search_param_conv_id
Field Value
Type | Description |
---|---|
System.String | 只写(选填),会话 ID |
msg_search_param_conv_type
Declaration
public TIMConvType? msg_search_param_conv_type
Field Value
Type | Description |
---|---|
System.Nullable<TIMConvType> | 只写(选填), 会话类型,如果设置 kTIMConv_Invalid,代表搜索全部会话。否则,代表搜索指定会话。 |
msg_search_param_keyword_array
Declaration
public List<string> msg_search_param_keyword_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | 只写(必填),搜索关键字列表,最多支持5个。 |
msg_search_param_keyword_list_match_type
Declaration
public TIMKeywordListMatchType msg_search_param_keyword_list_match_type
Field Value
Type | Description |
---|---|
TIMKeywordListMatchType | 关键字进行 Or 或者 And 进行搜索 |
msg_search_param_message_type_array
Declaration
public List<TIMElemType> msg_search_param_message_type_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<TIMElemType> | 只写(选填), 指定搜索的消息类型集合,传入空数组,表示搜索支持的全部类型消息(FaceElem 和 GroupTipsElem 暂不支持)取值详见 TIMElemType。 |
msg_search_param_page_index
Declaration
public uint? msg_search_param_page_index
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt32> | 只写(选填), 分页的页号:用于分页展示查找结果,从零开始起步。首次调用:通过参数 pageSize = 10, pageIndex = 0 调用 searchLocalMessage,从结果回调中的 totalCount 可以获知总共有多少条结果。 |
msg_search_param_page_size
Declaration
public uint? msg_search_param_page_size
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt32> | 只写(选填), 每页结果数量:用于分页展示查找结果,如不希望分页可将其设置成 0,但如果结果太多,可能会带来性能问题。 |
msg_search_param_search_time_period
Declaration
public ulong? msg_search_param_search_time_period
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> | 只写(选填), 从起始时间点开始的过去时间范围,单位秒。默认为0即代表不限制时间范围,传24x60x60代表过去一天。 |
msg_search_param_search_time_position
Declaration
public ulong? msg_search_param_search_time_position
Field Value
Type | Description |
---|---|
System.Nullable<System.UInt64> | 只写(选填), 搜索的起始时间点。默认为0即代表从现在开始搜索。UTC 时间戳,单位:秒 |
msg_search_param_send_indentifier_array
Declaration
public List<string> msg_search_param_send_indentifier_array
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | 按照发送者的 userid 进行搜索 |