PreviousMessageListQueryParams
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
public var reverse: Bool = false
-
Sets the message type to filter messages. The default value is
.all
.Since
3.0.106Declaration
Swift
public var messageTypeFilter: MessageTypeFilter = .all
-
Sets the custom type to filter messages.
Since
3.0.106Declaration
Swift
public var customTypeFilter: String?
-
Sets the custom types to filter messages.
Since
3.0.213Declaration
Swift
public var customTypesFilter: [String]?
-
Sets the senders’ user IDs filter.
Since
3.0.106Declaration
Swift
public var senderUserIdsFilter: [String]?
-
Determines message object include meta array. Default is
false
Since
3.0.116Declaration
Swift
public var includeMetaArray: Bool = false
-
Determines message object include reactions. Default is
false
Since
3.0.168Declaration
Swift
public var includeReactions: Bool = false
-
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.181Declaration
Swift
public var includeThreadInfo: Bool = false
-
Determines whether to include parent message information of the messages in the results when the results contain reply messages. Default is
false
Declaration
Swift
public var includeParentMessageInfo: Bool = false
-
Sets the reply type to filter messages. The default value is
.none
.Declaration
Swift
public var replyType: ReplyType = .none
-
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.204Declaration
Swift
public var showSubChannelMessagesOnly: Bool = false
-
fetch limit
Declaration
Swift
public var limit: UInt = 20
-
Default constructor.
Declaration
Swift
public override init()
-
Initializes and returns a newly allocated params object that mutated through builder closure.
Declaration
Swift
public init(builder: (PreviousMessageListQueryParams) -> Void)
Parameters
builder
The 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