ListFolderLongpollArg

public class ListFolderLongpollArg : CustomStringConvertible, JSONRepresentable

The ListFolderLongpollArg struct

  • A cursor as returned by listFolder or listFolderContinue. Cursors retrieved by setting includeMediaInfo in ListFolderArg to true are not supported.

    Declaration

    Swift

    public let cursor: String
  • A timeout in seconds. The request will block for at most this length of time, plus up to 90 seconds of random jitter added to avoid the thundering herd problem. Care should be taken when using this parameter, as some network infrastructure does not support long timeouts.

    Declaration

    Swift

    public let timeout: UInt64
  • Declaration

    Swift

    public var description: String { get }