ChatThreadsItemCollection

public struct ChatThreadsItemCollection : Codable

Collection of chat threads.

Properties

  • Collection of chat threads.

    Declaration

    Swift

    public let value: [ChatThreadItem]
  • If there are more chat threads that can be retrieved, the next link will be populated.

    Declaration

    Swift

    public let nextLink: String?

Initializers

  • Initialize a ChatThreadsItemCollection structure.

    Declaration

    Swift

    public init(
        value: [ChatThreadItem], nextLink: String? = nil
    )

    Parameters

    value

    Collection of chat threads.

    nextLink

    If there are more chat threads that can be retrieved, the next link will be populated.

Codable

  • Initialize a ChatThreadsItemCollection structure from decoder

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encode a ChatThreadsItemCollection structure

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws