PreviousMessageListQueryParams

@objc(SBDPreviousMessageListQueryParams)
public final class PreviousMessageListQueryParams : NSObject
extension PreviousMessageListQueryParams: NSCopying

Undocumented

  • Sets the order of messages. If true, the latest message is the index 0. The default value is false.

    Since

    3.0.106

    Declaration

    Swift

    @objc
    public var reverse: Bool
  • Sets the message type to filter messages. The default value is .all.

    Since

    3.0.106

    Declaration

    Swift

    @objc
    public var messageTypeFilter: MessageTypeFilter
  • Sets the custom type to filter messages.

    Since

    3.0.106

    Declaration

    Swift

    @objc
    public var customTypeFilter: String?
  • Sets the custom types to filter messages.

    Since

    3.0.213

    Declaration

    Swift

    @objc
    public var customTypesFilter: [String]?
  • Sets the senders’ user IDs filter.

    Since

    3.0.106

    Declaration

    Swift

    @objc
    public var senderUserIdsFilter: [String]?
  • Determines message object include meta array. Default is false

    Since

    3.0.116

    Declaration

    Swift

    @objc
    public var includeMetaArray: Bool
  • Determines message object include reactions. Default is false

    Since

    3.0.168

    Declaration

    Swift

    @objc
    public var includeReactions: Bool
  • Determines whether to include the thread information of the messages in the results when the results contain parent messages. Default is false

    Since

    3.0.181

    Declaration

    Swift

    @objc
    public var includeThreadInfo: Bool
  • Determines whether to include parent message information of the messages in the results when the results contain reply messages. Default is false

    Declaration

    Swift

    @objc
    public var includeParentMessageInfo: Bool
  • Sets the reply type to filter messages. The default value is .none.

    Declaration

    Swift

    @objc
    public var replyType: ReplyType
  • Determines whether to include only messages from the subChannel to which you belong in the results. Default is false

    Note

    This value is only used in open channels.

    Since

    3.0.204

    Declaration

    Swift

    @objc
    public var showSubChannelMessagesOnly: Bool
  • fetch limit

    Declaration

    Swift

    @objc
    public var limit: UInt
  • Default constructor.

    Declaration

    Swift

    public override init()
  • Initializes and returns a newly allocated params object that mutated through builder closure.

    Declaration

    Swift

    @objc
    public init(builder: (PreviousMessageListQueryParams) -> Void)

    Parameters

    builder

    The builder closure.

    Return Value

    An initialized params object.

Equatable

  • Undocumented

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool

NSCopying

  • Undocumented

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any