ChatMessagesCollection
public struct ChatMessagesCollection : Codable
Collection of chat messages for a particular chat thread.
-
Collection of chat messages.
Declaration
Swift
public let value: [ChatMessage] -
If there are more chat messages that can be retrieved, the next link will be populated.
Declaration
Swift
public let nextLink: String?
-
Initialize a
ChatMessagesCollectionstructure.Declaration
Swift
public init( value: [ChatMessage], nextLink: String? = nil )Parameters
valueCollection of chat messages.
nextLinkIf there are more chat messages that can be retrieved, the next link will be populated.
-
Initialize a
ChatMessagesCollectionstructure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws -
Encode a
ChatMessagesCollectionstructureDeclaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
ChatMessagesCollection Structure Reference