ChatThreadProperties
public struct ChatThreadProperties : Codable
Chat thread properties.
-
Thread id.
Declaration
Swift
public let id: String -
Thread topic.
Declaration
Swift
public let topic: String -
The timestamp when the thread was created. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ.Declaration
Swift
public let createdOn: Iso8601Date -
CommunicationIdentifier of the thread owner.
Declaration
Swift
public let createdBy: CommunicationIdentifier -
The timestamp when the thread was deleted. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ.Declaration
Swift
public let deletedOn: Iso8601Date?
-
Initialize a
ChatThreadPropertiesstructure.Declaration
Swift
public init( id: String, topic: String, createdOn: Iso8601Date, createdBy: CommunicationIdentifier, deletedOn: Iso8601Date? = nil )Parameters
idThread id.
topicThread topic.
createdOnThe timestamp when the thread was created. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ.createdByThe thread owner.
deletedOnThe timestamp when the thread was deleted. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ.
-
Initialize a
ChatThreadPropertiesstructure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws -
Encode a
ChatThreadPropertiesstructureDeclaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
ChatThreadProperties Structure Reference