SendReadReceiptRequest

public struct SendReadReceiptRequest : Codable

Request payload for sending a read receipt.

Properties

  • Id of the latest chat message read by the user.

    Declaration

    Swift

    public let chatMessageId: String

Initializers

  • Initialize a SendReadReceiptRequest structure.

    Declaration

    Swift

    public init(
        chatMessageId: String
    )

    Parameters

    chatMessageId

    Id of the latest chat message read by the user.

Codable

  • Initialize a SendReadReceiptRequest structure from decoder

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encode a SendReadReceiptRequest structure

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws