# 推送微盘文件

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /wework/sendRawMessage:
    post:
      summary: 推送微盘文件
      deprecated: false
      description: |-
        注意：
        1.如果好友昵称改过备注则只能使用备注名调用
      tags:
        - 指令消息
      parameters:
        - name: robotId
          in: query
          description: 客户端链接唯一标识
          required: true
          example: '{{robot_id}}'
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                socketType:
                  type: integer
                  description: 通讯类型 固定值=2
                list:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: integer
                        title: ''
                        description: 固定值=209
                      titleList:
                        type: array
                        items:
                          type: string
                        description: 待发送姓名
                      objectName:
                        type: string
                        description: 文件名称 (微盘里存在)
                      extraText:
                        type: string
                        description: 附加留言 选填
                    x-apifox-orders:
                      - type
                      - titleList
                      - objectName
                      - extraText
                    required:
                      - type
                      - titleList
                      - objectName
              x-apifox-orders:
                - socketType
                - list
              required:
                - socketType
                - list
            example:
              socketType: 2
              list:
                - type: 209
                  titleList:
                    - 仑哥
                  objectName: logo2
                  extraText: 附加留言（选填）
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                  message:
                    type: string
                  data:
                    type: string
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 指令消息
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1035094/apis/api-23521804-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.worktool.ymdyes.cn
    description: 正式环境
security: []
```
