<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/RCSService/revokeMessage(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10RCSServiceC13revokeMessageySbAC06RevokeF7RequestVYaKF"
  },
  "title" : "revokeMessage(_:)"
}
-->

# revokeMessage(_:)

Requests revocation of an RCS message.

```
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.

> Throws:
> If the session is no longer valid, this method throws ``doc://com.apple.telephonymessagingkit/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/invalidSession``. If the method can’t resolve the handle in the request, it throws ``doc://com.apple.telephonymessagingkit/documentation/TelephonyMessagingKit/RCSService/Error/invalidArgument``. If the method can’t process the revoke request for other reasons it throws ``doc://com.apple.telephonymessagingkit/documentation/TelephonyMessagingKit/RCSService/Error/internalError``.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)