SendChatMessageRequest
public struct SendChatMessageRequest : Codable
                Details of the message to send.
- 
                  
                  
Chat message content.
Declaration
Swift
public let content: String - 
                  
                  
The display name of the chat message sender. This property is used to populate sender name for push notifications.
Declaration
Swift
public let senderDisplayName: String? - 
                  
                  
The chat message type.
Declaration
Swift
public let type: ChatMessageType? - 
                  
                  
Message metadata.
Declaration
Swift
public let metadata: [String : String?]? 
- 
                  
                  
Initialize a
SendChatMessageRequeststructure.Declaration
Swift
public init( content: String, senderDisplayName: String? = nil, type: ChatMessageType? = nil, metadata: [String: String?]? = nil )Parameters
contentChat message content.
senderDisplayNameThe display name of the chat message sender. This property is used to populate sender name for push notifications.
typeThe chat message type.
metadataMessage metadata.
 
- 
                  
                  
Initialize a
SendChatMessageRequeststructure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws - 
                  
                  
Encode a
SendChatMessageRequeststructureDeclaration
Swift
public func encode(to encoder: Encoder) throws 
            View on GitHub
          
      SendChatMessageRequest Structure Reference