# 获取群系统消息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /get_group_system_msg:
    post:
      summary: 获取群系统消息
      deprecated: false
      description: 获取群系统消息
      tags:
        - 系统接口
        - 系统接口
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                count:
                  default: 50
                  description: 获取的消息数量
                  anyOf:
                    - type: number
                    - type: string
              required:
                - count
              x-apifox-orders:
                - count
              x-apifox-ignore-properties: []
            examples:
              Default:
                value:
                  count: 50
                summary: 默认请求示例
      responses:
        '200':
          description: 业务响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponse'
                  - type: object
                    required:
                      - data
                    properties:
                      data:
                        type: object
                        properties:
                          invited_requests:
                            description: 进群邀请列表
                            type: array
                            items: &ref_0
                              $ref: '#/components/schemas/OB11Notify'
                          InvitedRequest:
                            description: 进群邀请列表 (兼容)
                            type: array
                            items: *ref_0
                          join_requests:
                            description: 进群申请列表
                            type: array
                            items: *ref_0
                        required:
                          - invited_requests
                          - InvitedRequest
                          - join_requests
                        description: 业务数据
                        x-apifox-orders:
                          - invited_requests
                          - InvitedRequest
                          - join_requests
                        x-apifox-ignore-properties: []
                    x-apifox-orders:
                      - data
                    x-apifox-ignore-properties: []
              examples:
                Success:
                  summary: 成功响应
                  value:
                    status: ok
                    retcode: 0
                    data:
                      invited_requests: []
                      InvitedRequest: []
                      join_requests: []
                    message: ''
                    wording: ''
                    stream: normal-action
                Error_1400:
                  summary: 请求参数错误或业务逻辑执行失败
                  value:
                    status: failed
                    retcode: 1400
                    data: null
                    message: 请求参数错误或业务逻辑执行失败
                    wording: 请求参数错误或业务逻辑执行失败
                    stream: normal-action
                Error_1401:
                  summary: 权限不足
                  value:
                    status: failed
                    retcode: 1401
                    data: null
                    message: 权限不足
                    wording: 权限不足
                    stream: normal-action
                Error_1404:
                  summary: 资源不存在
                  value:
                    status: failed
                    retcode: 1404
                    data: null
                    message: 资源不存在
                    wording: 资源不存在
                    stream: normal-action
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 系统接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5348325/apis/api-226658660-run
components:
  schemas:
    OB11Notify:
      x-schema-id: OB11Notify
      description: OneBot 11 通知信息
      type: object
      properties:
        request_id:
          description: 请求ID
          type: number
        invitor_uin:
          description: 邀请者QQ
          type: number
        invitor_nick:
          description: 邀请者昵称
          type: string
        group_id:
          description: 群号
          type: number
        group_name:
          description: 群名称
          type: string
        message:
          description: 附言
          type: string
        checked:
          description: 是否已处理
          type: boolean
        actor:
          description: 操作者QQ
          type: number
        requester_nick:
          description: 申请者昵称
          type: string
      required:
        - request_id
        - invitor_uin
        - invitor_nick
        - group_id
        - group_name
        - message
        - checked
        - actor
        - requester_nick
      x-apifox-orders:
        - request_id
        - invitor_uin
        - invitor_nick
        - group_id
        - group_name
        - message
        - checked
        - actor
        - requester_nick
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    BaseResponse:
      type: object
      x-schema-id: BaseResponse
      properties:
        status:
          type: string
          description: 状态 (ok/failed)
        retcode:
          type: number
          description: 返回码
        data:
          type: string
        message:
          type: string
          description: 消息
        wording:
          type: string
          description: 提示
        stream:
          type: string
          description: 流式响应
          enum:
            - stream-action
            - normal-action
      required:
        - status
        - retcode
      x-apifox-orders:
        - status
        - retcode
        - data
        - message
        - wording
        - stream
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers: []
security: []

```
