Package 

Class MessageListParams

    • Method Detail

      • setShowSubchannelMessagesOnly

         void setShowSubchannelMessagesOnly(boolean showSubchannelMessagesOnly)

        If set to true, only messages that belong to current user's subchannel is fetched.If set to false, all messages will be fetched. Default is false.Takes effect only when the requested channel is a dynamically partitioned open channel.

        Parameters:
        showSubchannelMessagesOnly - If false, all messages will be returned.
      • setIncludeThreadInfo

         void setIncludeThreadInfo(boolean includeThreadInfo)

        Determines whether to include the thread information of the updated messages in the results when the results contain parent messages.Internally, this will be set on setIncludeThreadInfo.

        Parameters:
        includeThreadInfo - If true the result will be returned with thread information included.
      • setIncludeReplies

        @Deprecated() void setIncludeReplies(boolean includeReplies)

        Determines whether to include the replies of the updated messages in the results.

        Parameters:
        includeReplies - If true the result will be returned with reply messages included.
      • shouldIncludeThreadInfo

         boolean shouldIncludeThreadInfo()

        Returns whether the thread information should be included in the results.Can also be checked by getMessagePayloadFilter.

      • shouldShowSubchannelMessagesOnly

         boolean shouldShowSubchannelMessagesOnly()

        If true, only messages that belong to current user's subchannel is fetched.If false, all messages will be fetched. Default is false.Takes effect only when the requested channel is a dynamically partitioned open channel.

      • belongsTo

         boolean belongsTo(@NonNull() BaseMessage message)

        Verify that the given channel information matches the current query filter.

        Parameters:
        message - BaseMessage to check.
      • belongsTo

         boolean belongsTo(@NonNull() BaseMessageParams params)

        Verify that the given BaseMessageParams information matches the current query filter.

        Parameters:
        params - BaseMessageParams to check.