PinnedMessageListQuery
public final class PinnedMessageListQuery: NSObject, Queryable
This class provides a way to retrieve a list of pinned messages in a group channel. It has properties to get the query options and to check the status of the query.
Since
4.8.0-
Indicates whether there are more pinned messages to retrieve.
Declaration
Swift
public internal(set) var hasNext: Bool
-
Indicates whether the query is currently loading pinned messages.
Declaration
Swift
public internal(set) var isLoading: Bool
-
The number of pinned messages to retrieve.
Declaration
Swift
public let limit: Int
-
A boolean flag that determines whether or not to include a meta array in the message. The default value is
false
.Declaration
Swift
public var includeMetaArray: Bool
-
A boolean flag that determines whether or not to include thread information in the message. The default value is
false
.Declaration
Swift
public var includeThreadInfo: Bool
-
A boolean flag that determines whether or not to include reactions in the message. The default value is
false
.Declaration
Swift
public var includeReactions: Bool
-
Determines whether a message includes the poll details or not. The default value is
false
.Declaration
Swift
public var includePollDetails: Bool
-
Determines wheter to include information on parent message. The default value is
false
.Since
4.8.2Declaration
Swift
public var includeParentMessageInfo: Bool
-
Undocumented
Declaration
Swift
public func loadNextPage(completionHandler: @escaping PinnedMessageListHandler)
-
Copies this object
Declaration
Swift
public func copy(with zone: NSZone? = nil) -> Any
Parameters
zone
optional
NSZone
Return Value
PublicGroupChannelListQuery
instance