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 isfalse.Since
3.0.106Declaration
Swift
@objc public var reverse: Bool -
Sets the message type to filter messages. The default value is
.all.Since
3.0.106Declaration
Swift
@objc public var messageTypeFilter: MessageTypeFilter -
Sets the custom type to filter messages.
Since
3.0.106Declaration
Swift
@objc public var customTypeFilter: String? -
Sets the custom types to filter messages.
Since
3.0.213Declaration
Swift
@objc public var customTypesFilter: [String]? -
Sets the senders’ user IDs filter.
Since
3.0.106Declaration
Swift
@objc public var senderUserIdsFilter: [String]? -
Determines message object include meta array. Default is
falseSince
3.0.116Declaration
Swift
@objc public var includeMetaArray: Bool -
Determines message object include reactions. Default is
falseSince
3.0.168Declaration
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
falseSince
3.0.181Declaration
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
falseDeclaration
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
falseNote
This value is only used in open channels.Since
3.0.204Declaration
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
builderThe builder closure.
Return Value
An initialized params object.
-
Undocumented
Declaration
Swift
public override func isEqual(_ object: Any?) -> Bool
-
Undocumented
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
View on GitHub
Install in Dash
PreviousMessageListQueryParams Class Reference