Contents

revokeMessage(_:)

Requests revocation of an RCS message.

Declaration

final func revokeMessage(_ request: RCSService.RevokeMessageRequest) async throws -> Bool

Parameters

  • request:

    The request that contains the message to be revoked.

Return Value

A Boolean value that indicates whether sending the request to the carrier network succeeded.

Discussion

The RCS specification requires that you revoke a message when delivery fails or times out, and fall back to sending the message with SMS or MMS.

See Also

Revoking messages