# 对方撤回通知

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /XXXX/service/result:
    post:
      summary: 对方撤回通知
      deprecated: false
      description: "### 请求示例：\n\n```json\n{\n\t\"type\": \"robot.message.revoked\",\n\t\"cppContentType\": 1011,\n\t\"msg\": \"OK\",\n\t\"isSendFromMac\": 1,\n\t\"senderHeadImg\": \"https://wework.qpic.cn/wwpic3az/437379_R_vhfhv0TP2TnLw_1706254873/0\",\n\t\"code\": 0,\n\t\"bizType\": 5,\n\t\"chat_user\": 1688854987563191,\n\t\"conversationName\": \"杨**\",\n\t\"normalSenderName\": \"杨**\",\n\t\"isControlMessage\": 0,\n\t\"content\": \"该消息已被撤回\",\n\t\"msgSvrID\": 1006215,\n\t\"senderId\": 1688854987563191,\n\t\"senderName\": \"杨**\",\n\t\"isSendFromSelf\": 0,\n\t\"receiverId\": 1688858104495211,\n\t\"msgSeq\": 14349681,\n\t\"realSenderName\": \"杨**\",\n\t\"contentType\": 1011,\n\t\"dts\": 1710986581613,\n\t\"clientId\": \"CAEQyarurwYYt8HxjJOAgAMgBg==\",\n\t\"os\": \"android\",\n\t\"conversationId\": \"S:1688858104495211_1688854987563191\",\n\t\"messageId\": \"2024032110030100000011\",\n\t\"sendTimeTs\": 1710986581,\n\t\"chatUser\": 1688854987563191,\n\t\"sendTime\": \"2024-03-21 10:03:01\",\n\t\"robotKey\": \"aa654861f84345d2bf89cfba36c04bca\",\n\t\"robotType\": 2,\n\t\"isGroupChat\": 0\n}\n/// Android接口适配\n```\n\n### 参数说明：\n\n| 名称                     | 类型      | 必须 | 描述                                     |\n|--------------------------|-----------|------|------------------------------------------|\n| type                     | String    | 是   | 命令字，`robot.message.revoked`消息撤回通知 |\n| robotKey                 | String    | 是   | 机器人key                                |\n| conversational/chatUser  | String    | 是   | 会话id                                   |\n| sendTime                 | String    | 是   | 发生时间                                 |\n| sendTimeTs               | long      | 是   | unix 时间戳, 发生时间                    |\n| content                  | String    | 否   | 撤回的文本内容                           |\n| msgSvrID                 | Integer   | 是   | 机器人消息id                             |\n| contentType              | Integer   | 是   | `1` 为文本，`7` 为图片                       |\n| pic                      | String    | 否   | 撤回的图片地址                           |\n"
      tags:
        - 企微机器人/bot-收到消息
      parameters:
        - name: acttype
          in: query
          description: ''
          required: false
          example: revoked
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 企微机器人/bot-收到消息
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6148098/apis/api-279498807-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://www.example.com
    description: 测试环境
security: []

```
