Constructor
new PreviousMessageListQuery(channel)
- See:
Parameters:
Name | Type | Description |
---|---|---|
channel |
module:model/groupChannel~GroupChannel | module:model/openChannel~OpenChannel |
Members
(nullable) customTypeFilter :string
- Deprecated:
- since version v3.0.142, please use
customTypesFilter
instead
- since version v3.0.142, please use
- Default Value:
- null
Type:
- string
(nullable) customTypesFilter :Array.<string>
- Default Value:
- []
Type:
- Array.<string>
hasMore :boolean
Type:
- boolean
includeMetaArray :boolean
- Default Value:
- false
Type:
- boolean
includeParentMessageInfo :boolean
- Default Value:
- null
Type:
- boolean
includeParentMessageText :boolean
- Deprecated:
- since version v3.0.159, please use
includeParentMessageInfo
instead
- since version v3.0.159, please use
- Default Value:
- null
Type:
- boolean
includePollDetails :boolean
- Default Value:
- false
Type:
- boolean
includeReaction :boolean
- Deprecated:
- since version v3.0.129, please use
includeReactions
instead
- since version v3.0.129, please use
- Default Value:
- null
Type:
- boolean
includeReactions :boolean
- Default Value:
- null
Type:
- boolean
includeReplies :boolean
- Deprecated:
- since version v3.0.159, please use
replyType
instead
- since version v3.0.159, please use
- Default Value:
- null
Type:
- boolean
includeThreadInfo :boolean
- Default Value:
- false
Type:
- boolean
isLoading :boolean
Type:
- boolean
limit :number
- Default Value:
- 20
Type:
- number
messageTypeFilter :number|string
- Default Value:
- null Use 0 for ALL, 1 for USER, 2 for FILE, 3 for ADMIN
- See:
Type:
- number | string
(nullable) replyType :string
- Default Value:
- null
Type:
- string
reverse :boolean
- Default Value:
- false
Type:
- boolean
senderUserIdsFilter :Array.<string>
- Default Value:
- []
Type:
- Array.<string>
showSubchannelMessagesOnly :boolean
- Default Value:
- false
Type:
- boolean
Methods
load(limit, reverse, messageTypeFilter, callbackopt) → {Promise|undefined}
Execute the query
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
limit |
number | ||
reverse |
boolean | ||
messageTypeFilter |
number | ||
callback |
messageListCallback |
<optional> |
Returns:
- Type
- Promise | undefined
load(limit, reverse, callbackopt) → {Promise|undefined}
Execute the query
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
limit |
number | ||
reverse |
boolean | ||
callback |
messageListCallback |
<optional> |
Returns:
- Type
- Promise | undefined
load(callbackopt) → {Promise|undefined}
Execute the query
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
messageListCallback |
<optional> |
Returns:
- Type
- Promise | undefined