UpdateChatMessageRequest
public struct UpdateChatMessageRequest : Codable
Request payload for updating a chat message.
-
Chat message content.
Declaration
Swift
public let content: String?
-
Message metadata.
Declaration
Swift
public let metadata: [String : String?]?
-
Initialize a
UpdateChatMessageRequest
structure.Declaration
Swift
public init( content: String? = nil, metadata: [String: String?]? = nil )
Parameters
content
Chat message content.
metadata
Message metadata.
-
Initialize a
UpdateChatMessageRequest
structure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws
-
Encode a
UpdateChatMessageRequest
structureDeclaration
Swift
public func encode(to encoder: Encoder) throws