PinnedMessageListQueryParams

@objc(SBDPinnedMessageListQueryParams)
public final class PinnedMessageListQueryParams : NSObject, NSCopying

A class that provides options to fetch pinned messages from a server.

Since

4.8.0
  • The number of BaseMessages per queried page. Default is 50.

    Since

    4.8.0

    Declaration

    Swift

    @objc
    public var limit: Int
  • A boolean flag that determines whether or not to include a meta array in the message. The default value is false.

    Since

    4.8.0

    Declaration

    Swift

    @objc
    public var includeMetaArray: Bool
  • A boolean flag that determines whether or not to include thread information in the message. The default value is false.

    Since

    4.8.0

    Declaration

    Swift

    @objc
    public var includeThreadInfo: Bool
  • A boolean flag that determines whether or not to include reactions in the message. The default value is false.

    Since

    4.8.0

    Declaration

    Swift

    @objc
    public var includeReactions: Bool
  • Determines whether a message includes the poll details or not. The default value is false.

    Since

    4.8.0

    Declaration

    Swift

    @objc
    public var includePollDetails: Bool
  • Determines wheter to include information on parent message. Default is false.

    Since

    4.8.2

    Declaration

    Swift

    @objc
    public var includeParentMessageInfo: Bool
  • Default constructor.

    Declaration

    Swift

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

    Since

    4.8.0

    Declaration

    Swift

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

    Parameters

    builder

    The builder closure.

    Return Value

    An initialized params object.

  • Copies this object

    Declaration

    Swift

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

    Parameters

    zone

    optional NSZone

    Return Value

    PinnedMessageListQueryParams instance