# 个人收藏-分页

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/qw/doApi:
    post:
      summary: 个人收藏-分页
      deprecated: false
      description: >-
        <div style="background: linear-gradient(135deg, rgba(255, 213, 145,
        0.45) 0%, rgba(255, 255, 255, 0.06) 100%); border: 1px solid rgba(255,
        236, 202, 0.7); border-radius: 12px; padding: 20px 28px; margin-bottom:
        20px; box-shadow: 0 4px 12px rgba(250, 140, 22, 0.08)">
          <h3 style="margin: 0 0 8px 0; font-size: 18px; font-weight: 600; color: inherit; border: none; padding-bottom: 0;">个人收藏-分页</h3>
          <p style="margin: 0; font-size: 14px; color: inherit; line-height: 1.6">• 接口返回结果包含 表情收藏列表 和 消息收藏列表 。</p>
        </div>
      tags:
        - API参考/基础能力/个人模块
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: X-QIWEI-TOKEN
          in: header
          description: >-
            <p style="margin: 0; font-size: 14px; color: inherit; line-height:
            1.6;">进入 <a href="https://new.qiweapi.com/tokens" style="color:
            inherit; text-decoration: underline; font-weight: 600;">应用凭证</a>，复制
            <code style="color: inherit; background: rgba(82, 196, 26, 0.08);
            border: 1px solid rgba(82, 196, 26, 0.1); padding: 2px 4px;
            border-radius: 3px;">TokenId</code>。</p>
          required: true
          example: '{{tokenId}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                  title: 执行方法
                  description: >-
                    <code style="color: inherit; background: rgba(82, 196, 26,
                    0.08); border: 1px solid rgba(82, 196, 26, 0.1); padding:
                    2px 4px; border-radius: 3px;">/msg/syncCollectionMsg</code>
                params:
                  type: object
                  properties:
                    guid:
                      type: string
                      title: 设备 ID
                      description: >-
                        <p style="margin: 0; font-size: 14px; color: inherit;
                        line-height: 1.6;">设备唯一标识 <code style="color: inherit;
                        background: rgba(82, 196, 26, 0.08); border: 1px solid
                        rgba(82, 196, 26, 0.1); padding: 2px 4px; border-radius:
                        3px;">guid</code>，由「创建设备」接口返回，业务接口必传。</p>
                    msgSeq:
                      type: integer
                      description: >-
                        <p style="margin: 0; font-size: 14px; color: inherit;
                        line-height: 1.6;">分页使用，首次传0，下次传入返回值seq</p>
                      title: 游标
                    limit:
                      type: integer
                      title: 每页数量
                      description: ''
                  required:
                    - guid
                    - msgSeq
                    - limit
                  x-apifox-orders:
                    - guid
                    - msgSeq
                    - limit
                  title: 请求参数
              required:
                - method
                - params
              x-apifox-orders:
                - method
                - params
            example:
              method: /msg/syncCollectionMsg
              params:
                guid: '{{guid}}'
                msgSeq: 10247684
                limit: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    title: 状态码
                    description: >-
                      <p style="margin: 0; font-size: 14px; color: inherit;
                      line-height: 1.6;">状态码，<code style="color: inherit;
                      background: rgba(82, 196, 26, 0.08); border: 1px solid
                      rgba(82, 196, 26, 0.1); padding: 2px 4px; border-radius:
                      3px;">0</code> 成功。</p>
                  data:
                    type: object
                    properties:
                      lastSeq:
                        type: integer
                        title: 最后序号
                        description: ''
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            seq:
                              type: integer
                              title: 消息序号
                              description: ''
                            type:
                              type: integer
                              description: >-
                                <p style="margin: 0; font-size: 14px; color:
                                inherit; line-height: 1.6;">类型
                                8为收藏表情；其它为用户收藏各类消息</p>
                              title: 类型
                            state:
                              type: integer
                              description: >-
                                <p style="margin: 0; font-size: 14px; color:
                                inherit; line-height: 1.6;">状态 4正常 5已删除</p>
                              title: State
                            uniqueId:
                              type: string
                              title: 唯一Id
                              description: ''
                            coverUrl:
                              type: string
                              title: 封面链接
                              description: ''
                            timestamp:
                              type: integer
                              title: 时间戳
                              description: ''
                            syncMsgList:
                              type: array
                              items:
                                type: object
                                properties:
                                  fromRoomId:
                                    type: integer
                                    title: 来源群Id
                                    description: ''
                                  isRoomNotice:
                                    type: integer
                                    title: 是否群公告
                                    description: ''
                                  msgData:
                                    type: object
                                    properties:
                                      fileAesKey:
                                        type: string
                                        title: 文件密钥
                                        description: ''
                                      fileHttpUrl:
                                        type: string
                                        title: 文件HTTP链接
                                        description: ''
                                      fileId:
                                        type: string
                                        title: 文件 ID
                                        description: ''
                                      fileMd5:
                                        type: string
                                        title: 文件 MD5
                                        description: ''
                                      fileSize:
                                        type: integer
                                        title: 文件大小
                                        description: ''
                                      filename:
                                        type: string
                                        title: 文件名
                                        description: ''
                                      height:
                                        type: integer
                                        title: 高度
                                        description: ''
                                      sourceDesc:
                                        type: string
                                        title: Source描述
                                        description: ''
                                      sourceType:
                                        type: integer
                                        title: Source类型
                                        description: ''
                                      type:
                                        type: integer
                                        title: 类型
                                        description: ''
                                      width:
                                        type: integer
                                        title: 宽度
                                        description: ''
                                      subMsgDesc:
                                        type: string
                                        title: Sub消息描述
                                        description: ''
                                      subMsgFlag:
                                        type: integer
                                        title: Sub消息标志
                                        description: ''
                                      subMsgList:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            subMsgData:
                                              type: object
                                              properties:
                                                address:
                                                  type: string
                                                  title: 地址
                                                  description: ''
                                                latitude:
                                                  type: number
                                                  title: Latitude
                                                  description: ''
                                                longitude:
                                                  type: number
                                                  title: Longitude
                                                  description: ''
                                                title:
                                                  type: string
                                                  title: 标题
                                                  description: ''
                                                zoom:
                                                  type: integer
                                                  title: Zoom
                                                  description: ''
                                                base64RawData:
                                                  type: string
                                                  title: 基础64原始数据
                                                  description: ''
                                              required:
                                                - base64RawData
                                              x-apifox-orders:
                                                - address
                                                - latitude
                                                - longitude
                                                - title
                                                - zoom
                                                - base64RawData
                                              title: Sub消息数据
                                              description: ''
                                            subMsgFromId:
                                              type: integer
                                              title: Sub消息来源Id
                                              description: ''
                                            subMsgMsgId:
                                              type: string
                                              title: Sub消息消息Id
                                              description: ''
                                            subMsgSenderAvatar:
                                              type: string
                                              title: Sub消息Sender头像
                                              description: ''
                                            subMsgSenderId:
                                              type: integer
                                              title: Sub消息SenderId
                                              description: ''
                                            subMsgTimestamp:
                                              type: integer
                                              title: Sub消息时间戳
                                              description: ''
                                            subMsgType:
                                              type: integer
                                              title: Sub消息类型
                                              description: ''
                                          required:
                                            - subMsgData
                                            - subMsgFromId
                                            - subMsgMsgId
                                            - subMsgSenderAvatar
                                            - subMsgSenderId
                                            - subMsgTimestamp
                                            - subMsgType
                                          x-apifox-orders:
                                            - subMsgData
                                            - subMsgFromId
                                            - subMsgMsgId
                                            - subMsgSenderAvatar
                                            - subMsgSenderId
                                            - subMsgTimestamp
                                            - subMsgType
                                        title: Sub消息列表
                                        description: ''
                                    required:
                                      - subMsgDesc
                                      - subMsgFlag
                                      - subMsgList
                                    x-apifox-orders:
                                      - fileAesKey
                                      - fileHttpUrl
                                      - fileId
                                      - fileMd5
                                      - fileSize
                                      - filename
                                      - height
                                      - sourceDesc
                                      - sourceType
                                      - type
                                      - width
                                      - subMsgDesc
                                      - subMsgFlag
                                      - subMsgList
                                    title: 消息数据
                                    description: ''
                                  msgServerId:
                                    type: integer
                                    title: 消息 ID
                                    description: ''
                                  msgType:
                                    type: integer
                                    title: 消息类型
                                    description: ''
                                  msgUniqueIdentifier:
                                    type: string
                                    title: 消息唯一标识
                                    description: ''
                                  receiverId:
                                    type: string
                                    title: ReceiverId
                                    description: ''
                                  senderId:
                                    type: string
                                    title: 发送者 ID
                                    description: ''
                                  senderName:
                                    type: string
                                    title: Sender名称
                                    description: ''
                                  seq:
                                    type: integer
                                    title: 消息序号
                                    description: ''
                                  timestamp:
                                    type: integer
                                    title: 时间戳
                                    description: ''
                                  base64RawData:
                                    type: string
                                    title: 基础64原始数据
                                    description: ''
                                  asId:
                                    type: string
                                    title: AsId
                                    description: ''
                                  msgFlag:
                                    type: integer
                                    title: 消息标志
                                    description: ''
                                  referId:
                                    type: string
                                    title: ReferId
                                    description: ''
                                  isRevoked:
                                    type: boolean
                                    title: 是否撤回
                                    description: ''
                                required:
                                  - fromRoomId
                                  - isRoomNotice
                                  - msgData
                                  - msgServerId
                                  - msgType
                                  - msgUniqueIdentifier
                                  - receiverId
                                  - senderId
                                  - senderName
                                  - seq
                                  - timestamp
                                  - base64RawData
                                  - asId
                                  - msgFlag
                                  - referId
                                  - isRevoked
                                x-apifox-orders:
                                  - fromRoomId
                                  - isRoomNotice
                                  - msgData
                                  - msgServerId
                                  - msgType
                                  - msgUniqueIdentifier
                                  - receiverId
                                  - senderId
                                  - senderName
                                  - seq
                                  - timestamp
                                  - base64RawData
                                  - asId
                                  - msgFlag
                                  - referId
                                  - isRevoked
                              title: Sync消息列表
                              description: ''
                          required:
                            - seq
                            - type
                            - state
                            - uniqueId
                            - coverUrl
                            - timestamp
                            - syncMsgList
                          x-apifox-orders:
                            - seq
                            - type
                            - state
                            - uniqueId
                            - coverUrl
                            - timestamp
                            - syncMsgList
                        title: 列表
                        description: ''
                    required:
                      - lastSeq
                      - list
                    x-apifox-orders:
                      - lastSeq
                      - list
                    title: 响应数据
                    description: >-
                      <p style="margin: 0; font-size: 14px; color: inherit;
                      line-height: 1.6;">业务数据。</p>
                  msg:
                    type: string
                    title: 说明
                    description: >-
                      <p style="margin: 0; font-size: 14px; color: inherit;
                      line-height: 1.6;">返回说明。</p>
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 0
                data:
                  lastSeq: 15941254
                  list:
                    - seq: 15941227
                      type: 9
                      state: 4
                      uniqueId: 10002_emotion_5c61916145f2******f2ebae647
                      coverUrl: >-
                        https://wework.qpic.cn/wwpic3az/647529_MpPe******hjMC_1752462276/0
                      timestamp: 1752462276
                      syncMsgList:
                        - fromRoomId: 0
                          isRoomNotice: 0
                          msgData:
                            fileAesKey: ''
                            fileHttpUrl: >-
                              https://wework.qpic.cn/wwpic3az/wwwx_5c61916******46079a18f2ebae647/0
                            fileId: ''
                            fileMd5: 5c61916145f28******ebae647
                            fileSize: 0
                            filename: 动画表情
                            height: 240
                            sourceDesc: ''
                            sourceType: 2
                            type: 2
                            width: 240
                          msgServerId: 0
                          msgType: 29
                          msgUniqueIdentifier: ''
                          receiverId: '0'
                          senderId: '0'
                          senderName: ''
                          seq: 0
                          timestamp: 0
                          base64RawData: CkdodHR******gBYAmIAigEAkgEA
                          asId: '0'
                          msgFlag: 0
                          referId: '0'
                          isRevoked: false
                    - seq: 15941228
                      type: 6
                      state: 5
                      uniqueId: 10002_6599f8*****4a28******febed5
                      coverUrl: ''
                      timestamp: 1752566027
                      syncMsgList:
                        - fromRoomId: 10969999999904580
                          isRoomNotice: 0
                          msgData:
                            subMsgDesc: test-******1
                            subMsgFlag: 0
                            subMsgList:
                              - subMsgData:
                                  address: 重庆第二师范学院
                                  latitude: 41.023868
                                  longitude: 117.355266
                                  title: 重庆第二师范学院desc
                                  zoom: 0
                                subMsgFromId: 109659999994580
                                subMsgId: ''
                                subMsgSenderAvatar: ''
                                subMsgSenderId: 1688999991804
                                subMsgTimestamp: 1752225151
                                subMsgType: 6
                              - subMsgData:
                                  base64RawData: ''
                                subMsgFromId: 10965999999580
                                subMsgId: ''
                                subMsgSenderAvatar: ''
                                subMsgSenderId: 7881999999950
                                subMsgTimestamp: 1752226518
                                subMsgType: 146
                          msgServerId: 0
                          msgType: 4
                          msgUniqueIdentifier: ''
                          receiverId: '0'
                          senderId: 1688********04
                          senderName: Test
                          seq: 0
                          timestamp: 1752566027
                          base64RawData: Egt0ZXN0L*****TI1MDcxMQ==
                          asId: '0'
                          msgFlag: 0
                          referId: '0'
                          isRevoked: false
                msg: 成功
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API参考/基础能力/个人模块
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7051713/apis/api-344613865-run
components:
  schemas: {}
  securitySchemes:
    apiKey:
      type: apikey
      in: header
      name: X-WECOM-TOKEN
servers:
  - url: https://new.qiweapi.com/qiwe
    description: 正式环境
security: []

```
