ChatMessageReadReceipt
public struct ChatMessageReadReceipt : Codable
                A read receipt indicates the time a message was read by a recipient.
- 
                  
                  
The user who read the message.
Declaration
Swift
public let sender: CommunicationIdentifier - 
                  
                  
Id of the message that has been read. This id is generated by the server.
Declaration
Swift
public let chatMessageId: String - 
                  
                  
The time at which the message was read. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ.Declaration
Swift
public let readOn: Iso8601Date 
- 
                  
                  
Initialize a
ChatMessageReadReceiptstructure.Declaration
Swift
public init( sender: CommunicationIdentifier, chatMessageId: String, readOn: Iso8601Date )Parameters
senderThe participant who read the message.
chatMessageIdId of the chat message that has been read. This id is generated by the server.
readOnThe time at which the message was read. The timestamp is in RFC3339 format:
yyyy-MM-ddTHH:mm:ssZ. 
- 
                  
                  
Initialize a
ChatMessageReadReceiptstructure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws - 
                  
                  
Encode a
ChatMessageReadReceiptstructureDeclaration
Swift
public func encode(to encoder: Encoder) throws 
            View on GitHub
          
      ChatMessageReadReceipt Structure Reference