QNChatMessageSearch

public struct QNChatMessageSearch

Struct use to define a search from fetch history method

Enum

  • Message where search starts

    • before: Searchs messages before this message id
    • after: Searchs messages after this message id

    Declaration

    Swift

    public enum Cursor

Properties

  • Max messages to fetch

    Declaration

    Swift

    public var limitTo: Int { get }
  • A cursor

    Declaration

    Swift

    public var cursor: Cursor? { get }
  • Search messages from this date

    Declaration

    Swift

    public var startDate: Date? { get }
  • Search messages until this date

    Declaration

    Swift

    public var endDate: Date? { get }