SendReadReceiptRequest
public struct SendReadReceiptRequest : Codable
Request payload for sending a read receipt.
-
Id of the latest chat message read by the user.
Declaration
Swift
public let chatMessageId: String
-
Initialize a
SendReadReceiptRequest
structure.Declaration
Swift
public init( chatMessageId: String )
Parameters
chatMessageId
Id of the latest chat message read by the user.
-
Initialize a
SendReadReceiptRequest
structure from decoderDeclaration
Swift
public init(from decoder: Decoder) throws
-
Encode a
SendReadReceiptRequest
structureDeclaration
Swift
public func encode(to encoder: Encoder) throws