public static final class MessagePayloadFilter.Builder
extends java.lang.Object
MessagePayloadFilter
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MessagePayloadFilter |
build() |
MessagePayloadFilter.Builder |
setIncludeMetaArray(boolean includeMetaArray)
Determines whether to include the meta array information of the updated messages in the results.
|
MessagePayloadFilter.Builder |
setIncludeParentMessageInfo(boolean includeParentMessageInfo)
Determines whether to include the parent message's information in the results when the updated messages are replies in a thread.
|
MessagePayloadFilter.Builder |
setIncludeParentMessageText(boolean includeParentMessageText)
Deprecated.
As of 3.0.173, replaced by
setIncludeParentMessageInfo(boolean) . |
MessagePayloadFilter.Builder |
setIncludeReactions(boolean includeReactions)
Determines whether to include the reactions to the updated messages in the results.
|
MessagePayloadFilter.Builder |
setIncludeThreadInfo(boolean includeThreadInfo)
Determines whether to include the thread information of the updated messages in the results when the results contain parent messages.
|
public MessagePayloadFilter.Builder setIncludeMetaArray(boolean includeMetaArray)
includeMetaArray
- If true
the result will be returned with message meta array.public MessagePayloadFilter.Builder setIncludeReactions(boolean includeReactions)
includeReactions
- If true
the result will be returned with message reactions.@Deprecated public MessagePayloadFilter.Builder setIncludeParentMessageText(boolean includeParentMessageText)
setIncludeParentMessageInfo(boolean)
.BaseMessage.getMessage()
of the parent message.
If it is FileMessage, the value is the name of the uploaded file.includeParentMessageText
- If true
the result will be returned with messages with parent's message's text, if the message is a reply message.public MessagePayloadFilter.Builder setIncludeParentMessageInfo(boolean includeParentMessageInfo)
includeParentMessageInfo
- If true
the result will be returned with messages with parent's message's information, if the message is a reply message.public MessagePayloadFilter.Builder setIncludeThreadInfo(boolean includeThreadInfo)
includeThreadInfo
- If true
the result will be returned with thread information included.public MessagePayloadFilter build()
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.