Tusker/Packages/Pachyderm/Sources/Pachyderm/Model/ConversationContext.swift

20 lines
394 B
Swift
Raw Normal View History

2018-09-11 14:52:21 +00:00
//
// Context.swift
// Pachyderm
//
// Created by Shadowfacts on 9/9/18.
// Copyright © 2018 Shadowfacts. All rights reserved.
//
import Foundation
public struct ConversationContext: Decodable, Sendable {
public let ancestors: [Status]
public let descendants: [Status]
2018-09-11 14:52:21 +00:00
private enum CodingKeys: String, CodingKey {
case ancestors
case descendants
}
}