Skip to main content

SearchLocalMessagesParams

Feature Introduction

info

SearchLocalMessagesParams

Parameter NameTypeDescription
ConversationIDstringConversation ID, if empty, then it's a global search
KeywordListstring[]Search keyword list, currently only supports searching for one keyword
KeywordListMatchTypeintKeyword matching mode, 1 represents AND, 2 represents OR, temporarily unused.
SenderUserIDListstring[]Specify the uid list for message sending, currently unused
MessageTypeListint[]Message Type List
SearchTimePositionlongStarting time point of the search. Default is 0, which means starting search from now. UTC timestamp, unit: seconds.
SearchTimePeriodlongTime range in seconds from the starting time point. Default is 0, which means no time range restriction. Passing 24x60x60 represents the past day.
PageIndexintCurrent page number, starting from 1. It is invalid when conversationID is empty, i.e., in the case of global search
CountintNumber of items per page. It is invalid when conversationID is empty, i.e., in the case of global search