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
ChatMessagesCollection
structure.Declaration
Swift
public init( value: [ChatMessage], nextLink: String? = nil )
Parameters
value
Collection of chat messages.
nextLink
If there are more chat messages that can be retrieved, the next link will be populated.
-
Initialize a
ChatMessagesCollection
structure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws
-
Encode a
ChatMessagesCollection
structureDeclaration
Swift
public func encode(to encoder: Encoder) throws