# 获取房间信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /chatroom/v2/room/view:
    get:
      summary: 获取房间信息
      deprecated: false
      description: ''
      tags:
        - HTTP接口/房间接口
      parameters:
        - name: room_id
          in: query
          description: 房间id
          required: true
          schema:
            type: string
        - name: client_type
          in: query
          description: 声明请求黑盒语音
          required: true
          example: heybox_chat
          schema:
            type: string
            default: heybox_chat
        - name: x_client_type
          in: query
          description: 声明客户端类型
          required: true
          example: web
          schema:
            type: string
            default: web
        - name: os_type
          in: query
          description: 声明客户端类型
          required: true
          example: web
          schema:
            type: string
            default: web
        - name: x_os_type
          in: query
          description: 声明客户端是bot
          required: true
          example: bot
          schema:
            type: string
            default: bot
        - name: x_app
          in: query
          description: 声明请求黑盒语音
          required: true
          example: heybox_chat
          schema:
            type: string
            default: heybox_chat
        - name: chat_os_type
          in: query
          description: 声明客户端是bot
          required: true
          example: bot
          schema:
            type: string
            default: bot
        - name: chat_version
          in: query
          description: 客户端版本号,不同版本返回的结果可能有区别
          required: true
          example: 1.30.0
          schema:
            type: string
            default: 1.30.0
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json;charset=UTF-8
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
              x-apifox-orders: []
            example: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  msg:
                    type: string
                  result:
                    type: object
                    properties:
                      room_id:
                        type: string
                      room:
                        type: object
                        properties:
                          room_join_verify:
                            type: object
                            properties:
                              question:
                                type: string
                              room_id:
                                type: string
                              verify_switch:
                                type: boolean
                            required:
                              - question
                              - room_id
                              - verify_switch
                            x-apifox-orders:
                              - question
                              - room_id
                              - verify_switch
                          room_setting:
                            type: object
                            properties:
                              show_room_level:
                                type: integer
                              game_theme:
                                type: 'null'
                              room_notify_type:
                                type: integer
                              room_default_channel:
                                type: 'null'
                              room_show_offline_user:
                                type: integer
                              show_recommend_set_only_at:
                                type: integer
                              show_bind_game:
                                type: integer
                              welcome_channel:
                                type: 'null'
                              use_voice_pack_room_only:
                                type: integer
                              show_apply_hot:
                                type: integer
                              room_icon_id:
                                type: 'null'
                              bind_game_ids:
                                type: 'null'
                              similar_game_ids:
                                type: 'null'
                              similar_game_infos:
                                type: 'null'
                              bind_game_infos:
                                type: 'null'
                              auto_mod:
                                type: object
                                properties:
                                  filter_word_list:
                                    type: array
                                    items:
                                      type: string
                                  filter_urls:
                                    type: object
                                    properties:
                                      name:
                                        type: string
                                      filter_words:
                                        type: 'null'
                                      actions:
                                        type: array
                                        items:
                                          type: string
                                      id:
                                        type: string
                                      enable:
                                        type: boolean
                                      only_send_chat_url:
                                        type: boolean
                                    required:
                                      - name
                                      - filter_words
                                      - actions
                                      - id
                                      - enable
                                      - only_send_chat_url
                                    x-apifox-orders:
                                      - name
                                      - filter_words
                                      - actions
                                      - id
                                      - enable
                                      - only_send_chat_url
                                  filter_qrcode:
                                    type: 'null'
                                required:
                                  - filter_word_list
                                  - filter_urls
                                  - filter_qrcode
                                x-apifox-orders:
                                  - filter_word_list
                                  - filter_urls
                                  - filter_qrcode
                              talkable:
                                type: 'null'
                              default_permissions:
                                type: string
                              hide_room_fire_flag:
                                type: boolean
                              hide_member_fire_flag:
                                type: boolean
                            required:
                              - show_room_level
                              - game_theme
                              - room_notify_type
                              - room_default_channel
                              - room_show_offline_user
                              - show_recommend_set_only_at
                              - show_bind_game
                              - welcome_channel
                              - use_voice_pack_room_only
                              - show_apply_hot
                              - room_icon_id
                              - bind_game_ids
                              - similar_game_ids
                              - similar_game_infos
                              - bind_game_infos
                              - auto_mod
                              - talkable
                              - default_permissions
                              - hide_room_fire_flag
                              - hide_member_fire_flag
                            x-apifox-orders:
                              - show_room_level
                              - game_theme
                              - room_notify_type
                              - room_default_channel
                              - room_show_offline_user
                              - show_recommend_set_only_at
                              - show_bind_game
                              - welcome_channel
                              - use_voice_pack_room_only
                              - show_apply_hot
                              - room_icon_id
                              - bind_game_ids
                              - similar_game_ids
                              - similar_game_infos
                              - bind_game_infos
                              - auto_mod
                              - talkable
                              - default_permissions
                              - hide_room_fire_flag
                              - hide_member_fire_flag
                          room_bind_team:
                            type: object
                            properties:
                              appid:
                                type: integer
                              room_id:
                                type: string
                              channel_id:
                                type: string
                              room_sync_team:
                                type: integer
                              team_sync_room:
                                type: integer
                            required:
                              - appid
                              - room_id
                              - channel_id
                              - room_sync_team
                              - team_sync_room
                            x-apifox-orders:
                              - appid
                              - room_id
                              - channel_id
                              - room_sync_team
                              - team_sync_room
                          room_fire_flag:
                            type: object
                            properties:
                              cumulative_days:
                                type: integer
                              continuous_days:
                                type: integer
                              active_members:
                                type: integer
                              inactive_days:
                                type: integer
                            required:
                              - cumulative_days
                              - continuous_days
                              - active_members
                              - inactive_days
                            x-apifox-orders:
                              - cumulative_days
                              - continuous_days
                              - active_members
                              - inactive_days
                          room_id:
                            type: string
                          room_name:
                            type: string
                          room_avatar:
                            type: string
                          room_pic:
                            type: string
                          public_id:
                            type: string
                          introduction:
                            type: string
                          main_color_v2:
                            type: 'null'
                          bar_main_color:
                            type: integer
                          bar_main_color_v2:
                            type: 'null'
                          bg_pic:
                            type: string
                          bg_color:
                            type: string
                          bar_color:
                            type: string
                          bg_pic_main_color:
                            type: string
                          blur_rate:
                            type: integer
                          transparency:
                            type: integer
                          main_color:
                            type: integer
                          show_channel_bar_filter:
                            type: boolean
                          can_change_bg_pic:
                            type: 'null'
                          show_room_level:
                            type: integer
                          game_theme:
                            type: 'null'
                          room_notify_type:
                            type: integer
                          room_default_channel:
                            type: 'null'
                          room_show_offline_user:
                            type: integer
                          show_recommend_set_only_at:
                            type: integer
                          show_bind_game:
                            type: integer
                          welcome_channel:
                            type: 'null'
                          use_voice_pack_room_only:
                            type: integer
                          show_apply_hot:
                            type: integer
                          room_icon_id:
                            type: 'null'
                          bind_game_ids:
                            type: 'null'
                          similar_game_ids:
                            type: 'null'
                          similar_game_infos:
                            type: 'null'
                          auto_mod:
                            type: object
                            properties:
                              filter_word_list:
                                type: array
                                items:
                                  type: string
                              filter_urls:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  filter_words:
                                    type: 'null'
                                  actions:
                                    type: array
                                    items:
                                      type: string
                                  id:
                                    type: string
                                  enable:
                                    type: boolean
                                  only_send_chat_url:
                                    type: boolean
                                required:
                                  - name
                                  - filter_words
                                  - actions
                                  - id
                                  - enable
                                  - only_send_chat_url
                                x-apifox-orders:
                                  - name
                                  - filter_words
                                  - actions
                                  - id
                                  - enable
                                  - only_send_chat_url
                              filter_qrcode:
                                type: 'null'
                            required:
                              - filter_word_list
                              - filter_urls
                              - filter_qrcode
                            x-apifox-orders:
                              - filter_word_list
                              - filter_urls
                              - filter_qrcode
                          talkable:
                            type: 'null'
                          default_permissions:
                            type: string
                          hide_room_fire_flag:
                            type: boolean
                          hide_member_fire_flag:
                            type: boolean
                          create_by:
                            type: integer
                          link_id:
                            type: integer
                          is_public:
                            type: integer
                          is_hot:
                            type: integer
                          room_type:
                            type: integer
                          apply_hot_status:
                            type: integer
                          can_decorate:
                            type: boolean
                          room_task:
                            type: object
                            properties:
                              room_level:
                                type: integer
                              finish_rate:
                                type: number
                              now_level_finish_rate:
                                type: number
                              max_room_level:
                                type: integer
                              tasks:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    task_id:
                                      type: integer
                                    task_name:
                                      type: string
                                    task_pic:
                                      type: string
                                    target_counts:
                                      type: integer
                                    now_counts:
                                      type: integer
                                    finished:
                                      type: integer
                                    reachable:
                                      type: integer
                                  required:
                                    - task_id
                                    - task_name
                                    - task_pic
                                    - target_counts
                                    - now_counts
                                    - finished
                                    - reachable
                                  x-apifox-orders:
                                    - task_id
                                    - task_name
                                    - task_pic
                                    - target_counts
                                    - now_counts
                                    - finished
                                    - reachable
                              warn_tasks:
                                type: 'null'
                            required:
                              - room_level
                              - finish_rate
                              - now_level_finish_rate
                              - max_room_level
                              - tasks
                              - warn_tasks
                            x-apifox-orders:
                              - room_level
                              - finish_rate
                              - now_level_finish_rate
                              - max_room_level
                              - tasks
                              - warn_tasks
                          room_icon:
                            type: 'null'
                          member_count:
                            type: integer
                          online_count:
                            type: integer
                          audio_count:
                            type: integer
                          update_time:
                            type: integer
                          enable_switch_line:
                            type: boolean
                          av_line_list:
                            type: array
                            items:
                              type: object
                              properties:
                                name:
                                  type: string
                                value:
                                  type: string
                                resolution_map:
                                  type: 'null'
                              required:
                                - name
                                - value
                                - resolution_map
                              x-apifox-orders:
                                - name
                                - value
                                - resolution_map
                          channel_fold_user:
                            type: integer
                          members:
                            type: 'null'
                          screen_share_members:
                            type: 'null'
                          audio_share_members:
                            type: 'null'
                          promise_display_info:
                            type: string
                          bind_game_infos:
                            type: 'null'
                          customization:
                            type: object
                            properties:
                              room_id:
                                type: string
                              customization_switch:
                                type: boolean
                              available_channels:
                                type: 'null'
                              questions:
                                type: 'null'
                              update_time:
                                type: integer
                              create_time:
                                type: integer
                            required:
                              - room_id
                              - customization_switch
                              - available_channels
                              - questions
                              - update_time
                              - create_time
                            x-apifox-orders:
                              - room_id
                              - customization_switch
                              - available_channels
                              - questions
                              - update_time
                              - create_time
                          enable_customization:
                            type: boolean
                          rec_desc:
                            type: string
                          anc:
                            type: 'null'
                        required:
                          - room_join_verify
                          - room_setting
                          - room_bind_team
                          - room_fire_flag
                          - room_id
                          - room_name
                          - room_avatar
                          - room_pic
                          - public_id
                          - introduction
                          - main_color_v2
                          - bar_main_color
                          - bar_main_color_v2
                          - bg_pic
                          - bg_color
                          - bar_color
                          - bg_pic_main_color
                          - blur_rate
                          - transparency
                          - main_color
                          - show_channel_bar_filter
                          - can_change_bg_pic
                          - show_room_level
                          - game_theme
                          - room_notify_type
                          - room_default_channel
                          - room_show_offline_user
                          - show_recommend_set_only_at
                          - show_bind_game
                          - welcome_channel
                          - use_voice_pack_room_only
                          - show_apply_hot
                          - room_icon_id
                          - bind_game_ids
                          - similar_game_ids
                          - similar_game_infos
                          - auto_mod
                          - talkable
                          - default_permissions
                          - hide_room_fire_flag
                          - hide_member_fire_flag
                          - create_by
                          - link_id
                          - is_public
                          - is_hot
                          - room_type
                          - apply_hot_status
                          - can_decorate
                          - room_task
                          - room_icon
                          - member_count
                          - online_count
                          - audio_count
                          - update_time
                          - enable_switch_line
                          - av_line_list
                          - channel_fold_user
                          - members
                          - screen_share_members
                          - audio_share_members
                          - promise_display_info
                          - bind_game_infos
                          - customization
                          - enable_customization
                          - rec_desc
                          - anc
                        x-apifox-orders:
                          - room_join_verify
                          - room_setting
                          - room_bind_team
                          - room_fire_flag
                          - room_id
                          - room_name
                          - room_avatar
                          - room_pic
                          - public_id
                          - introduction
                          - main_color_v2
                          - bar_main_color
                          - bar_main_color_v2
                          - bg_pic
                          - bg_color
                          - bar_color
                          - bg_pic_main_color
                          - blur_rate
                          - transparency
                          - main_color
                          - show_channel_bar_filter
                          - can_change_bg_pic
                          - show_room_level
                          - game_theme
                          - room_notify_type
                          - room_default_channel
                          - room_show_offline_user
                          - show_recommend_set_only_at
                          - show_bind_game
                          - welcome_channel
                          - use_voice_pack_room_only
                          - show_apply_hot
                          - room_icon_id
                          - bind_game_ids
                          - similar_game_ids
                          - similar_game_infos
                          - auto_mod
                          - talkable
                          - default_permissions
                          - hide_room_fire_flag
                          - hide_member_fire_flag
                          - create_by
                          - link_id
                          - is_public
                          - is_hot
                          - room_type
                          - apply_hot_status
                          - can_decorate
                          - room_task
                          - room_icon
                          - member_count
                          - online_count
                          - audio_count
                          - update_time
                          - enable_switch_line
                          - av_line_list
                          - channel_fold_user
                          - members
                          - screen_share_members
                          - audio_share_members
                          - promise_display_info
                          - bind_game_infos
                          - customization
                          - enable_customization
                          - rec_desc
                          - anc
                      channels:
                        type: array
                        items:
                          type: object
                          properties:
                            api_type:
                              type: string
                            max_count:
                              type: integer
                            follow_group:
                              type: integer
                            follow_group_v1:
                              type: integer
                            slow_mode:
                              type: integer
                            audio_bitrate:
                              type: integer
                            tip_sound_user_limit:
                              type: integer
                            is_private:
                              type: integer
                            mini_pro_id:
                              type: string
                            channel_icon:
                              type: string
                            channel_url:
                              type: string
                            tab:
                              type: string
                            channel_id:
                              type: string
                            channel_name:
                              type: string
                            channel_type:
                              type: integer
                            channel_create_by:
                              type: integer
                            bind_topic_id:
                              type: integer
                            create_by:
                              type: integer
                            level:
                              type: integer
                            state:
                              type: integer
                            bind_app_id:
                              type: integer
                            password:
                              type: boolean
                            channel_list:
                              type: array
                              items:
                                type: object
                                properties:
                                  api_type:
                                    type: string
                                  max_count:
                                    type: integer
                                  follow_group:
                                    type: integer
                                  follow_group_v1:
                                    type: integer
                                  slow_mode:
                                    type: integer
                                  audio_bitrate:
                                    type: integer
                                  tip_sound_user_limit:
                                    type: integer
                                  is_private:
                                    type: integer
                                  parent_id:
                                    type: string
                                  mini_pro_id:
                                    type: string
                                  channel_icon:
                                    type: string
                                  channel_url:
                                    type: string
                                  tab:
                                    type: string
                                  channel_id:
                                    type: string
                                  channel_name:
                                    type: string
                                  channel_type:
                                    type: integer
                                  channel_create_by:
                                    type: integer
                                  bind_topic_id:
                                    type: integer
                                  create_by:
                                    type: integer
                                  level:
                                    type: integer
                                  state:
                                    type: integer
                                  bind_app_id:
                                    type: integer
                                  password:
                                    type: boolean
                                  channel_list:
                                    type: array
                                    items:
                                      type: string
                                  permission_overwrites:
                                    type: 'null'
                                  permission_sync:
                                    type: integer
                                  channel_mini_pro:
                                    type: 'null'
                                  user_perm:
                                    type: object
                                    properties:
                                      allow:
                                        type: string
                                      deny:
                                        type: string
                                    required:
                                      - allow
                                      - deny
                                    x-apifox-orders:
                                      - allow
                                      - deny
                                x-apifox-orders:
                                  - api_type
                                  - max_count
                                  - follow_group
                                  - follow_group_v1
                                  - slow_mode
                                  - audio_bitrate
                                  - tip_sound_user_limit
                                  - is_private
                                  - parent_id
                                  - mini_pro_id
                                  - channel_icon
                                  - channel_url
                                  - tab
                                  - channel_id
                                  - channel_name
                                  - channel_type
                                  - channel_create_by
                                  - bind_topic_id
                                  - create_by
                                  - level
                                  - state
                                  - bind_app_id
                                  - password
                                  - channel_list
                                  - permission_overwrites
                                  - permission_sync
                                  - channel_mini_pro
                                  - user_perm
                            permission_overwrites:
                              type: 'null'
                            permission_sync:
                              type: integer
                            channel_mini_pro:
                              type: 'null'
                            user_perm:
                              type: object
                              properties:
                                allow:
                                  type: string
                                deny:
                                  type: string
                              required:
                                - allow
                                - deny
                              x-apifox-orders:
                                - allow
                                - deny
                          required:
                            - api_type
                            - max_count
                            - follow_group
                            - follow_group_v1
                            - slow_mode
                            - audio_bitrate
                            - tip_sound_user_limit
                            - is_private
                            - mini_pro_id
                            - channel_icon
                            - channel_url
                            - tab
                            - channel_id
                            - channel_name
                            - channel_type
                            - channel_create_by
                            - bind_topic_id
                            - create_by
                            - level
                            - state
                            - bind_app_id
                            - password
                            - channel_list
                            - permission_overwrites
                            - permission_sync
                            - channel_mini_pro
                            - user_perm
                          x-apifox-orders:
                            - api_type
                            - max_count
                            - follow_group
                            - follow_group_v1
                            - slow_mode
                            - audio_bitrate
                            - tip_sound_user_limit
                            - is_private
                            - mini_pro_id
                            - channel_icon
                            - channel_url
                            - tab
                            - channel_id
                            - channel_name
                            - channel_type
                            - channel_create_by
                            - bind_topic_id
                            - create_by
                            - level
                            - state
                            - bind_app_id
                            - password
                            - channel_list
                            - permission_overwrites
                            - permission_sync
                            - channel_mini_pro
                            - user_perm
                      roles:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            icon:
                              type: string
                            color_list:
                              type: 'null'
                            id:
                              type: string
                            department_id:
                              type: string
                            room_id:
                              type: string
                            permissions:
                              type: string
                            type:
                              type: integer
                            color:
                              type: integer
                            position:
                              type: integer
                            del_tag:
                              type: integer
                            hoist:
                              type: integer
                            mentionable:
                              type: integer
                            creator:
                              type: integer
                            create_time:
                              type: integer
                          required:
                            - name
                            - icon
                            - color_list
                            - id
                            - department_id
                            - room_id
                            - permissions
                            - type
                            - color
                            - position
                            - del_tag
                            - hoist
                            - mentionable
                            - creator
                            - create_time
                          x-apifox-orders:
                            - name
                            - icon
                            - color_list
                            - id
                            - department_id
                            - room_id
                            - permissions
                            - type
                            - color
                            - position
                            - del_tag
                            - hoist
                            - mentionable
                            - creator
                            - create_time
                      my_roles:
                        type: array
                        items:
                          type: string
                      my_room_info:
                        type: object
                        properties:
                          room_nickname:
                            type: string
                          show_room_bg:
                            type: integer
                          ban:
                            type: object
                            properties:
                              operator_id:
                                type: 'null'
                              reason:
                                type: string
                              until:
                                type: string
                              notify:
                                type: boolean
                            required:
                              - operator_id
                              - reason
                              - until
                              - notify
                            x-apifox-orders:
                              - operator_id
                              - reason
                              - until
                              - notify
                          mute_earphone:
                            type: object
                            properties:
                              operator_id:
                                type: 'null'
                              mute:
                                type: boolean
                            required:
                              - operator_id
                              - mute
                            x-apifox-orders:
                              - operator_id
                              - mute
                          mute_room:
                            type: object
                            properties:
                              operator_id:
                                type: 'null'
                              mute:
                                type: boolean
                            required:
                              - operator_id
                              - mute
                            x-apifox-orders:
                              - operator_id
                              - mute
                          show_game_name:
                            type: 'null'
                          show_game_card:
                            type: 'null'
                          read_anc_time:
                            type: integer
                          is_visitor:
                            type: boolean
                          customization:
                            type: object
                            properties:
                              finish:
                                type: boolean
                              responses:
                                type: 'null'
                            required:
                              - finish
                              - responses
                            x-apifox-orders:
                              - finish
                              - responses
                          create_time:
                            type: integer
                          continuous_days:
                            type: integer
                          hide_fire_flag:
                            type: 'null'
                          show_fire_tip_time:
                            type: integer
                        required:
                          - room_nickname
                          - show_room_bg
                          - ban
                          - mute_earphone
                          - mute_room
                          - show_game_name
                          - show_game_card
                          - read_anc_time
                          - is_visitor
                          - customization
                          - create_time
                          - continuous_days
                          - hide_fire_flag
                          - show_fire_tip_time
                        x-apifox-orders:
                          - room_nickname
                          - show_room_bg
                          - ban
                          - mute_earphone
                          - mute_room
                          - show_game_name
                          - show_game_card
                          - read_anc_time
                          - is_visitor
                          - customization
                          - create_time
                          - continuous_days
                          - hide_fire_flag
                          - show_fire_tip_time
                      user_notify_settings:
                        type: object
                        properties:
                          '3713907767125508096':
                            type: object
                            properties:
                              dnds:
                                type: 'null'
                              flags:
                                type: 'null'
                              room_id:
                                type: string
                              department_id:
                                type: string
                              notify_type:
                                type: integer
                            required:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                            x-apifox-orders:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                          '3713907767219945472':
                            type: object
                            properties:
                              dnds:
                                type: 'null'
                              flags:
                                type: 'null'
                              room_id:
                                type: string
                              department_id:
                                type: string
                              notify_type:
                                type: integer
                            required:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                            x-apifox-orders:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                          '3713907767219945474':
                            type: object
                            properties:
                              dnds:
                                type: 'null'
                              flags:
                                type: 'null'
                              room_id:
                                type: string
                              department_id:
                                type: string
                              notify_type:
                                type: integer
                            required:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                            x-apifox-orders:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                          '3713907767219945476':
                            type: object
                            properties:
                              dnds:
                                type: 'null'
                              flags:
                                type: 'null'
                              room_id:
                                type: string
                              department_id:
                                type: string
                              notify_type:
                                type: integer
                            required:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                            x-apifox-orders:
                              - dnds
                              - flags
                              - room_id
                              - department_id
                              - notify_type
                        required:
                          - '3713907767125508096'
                          - '3713907767219945472'
                          - '3713907767219945474'
                          - '3713907767219945476'
                        x-apifox-orders:
                          - '3713907767125508096'
                          - '3713907767219945472'
                          - '3713907767219945474'
                          - '3713907767219945476'
                      read_states:
                        type: object
                        properties:
                          '3713907767219945474':
                            type: object
                            properties:
                              message_count:
                                type: integer
                              mention_count:
                                type: integer
                              last_read_message_id:
                                type: string
                              last_read_time:
                                type: integer
                              last_at_message_id:
                                type: string
                            required:
                              - message_count
                              - mention_count
                              - last_read_message_id
                              - last_read_time
                              - last_at_message_id
                            x-apifox-orders:
                              - message_count
                              - mention_count
                              - last_read_message_id
                              - last_read_time
                              - last_at_message_id
                        required:
                          - '3713907767219945474'
                        x-apifox-orders:
                          - '3713907767219945474'
                      bot_infos:
                        type: array
                        items:
                          type: object
                          properties:
                            bot_account_info:
                              type: object
                              properties:
                                avatar_decoration:
                                  type: 'null'
                                tag:
                                  type: 'null'
                                nickname:
                                  type: string
                                avatar:
                                  type: string
                                medals:
                                  type: 'null'
                                user_id:
                                  type: integer
                                level:
                                  type: integer
                                bot:
                                  type: boolean
                                room_nickname:
                                  type: string
                                roles:
                                  type: 'null'
                              required:
                                - avatar_decoration
                                - tag
                                - nickname
                                - avatar
                                - medals
                                - user_id
                                - level
                                - bot
                                - room_nickname
                                - roles
                              x-apifox-orders:
                                - avatar_decoration
                                - tag
                                - nickname
                                - avatar
                                - medals
                                - user_id
                                - level
                                - bot
                                - room_nickname
                                - roles
                            commands:
                              type: array
                              items:
                                type: object
                                properties:
                                  protocol:
                                    type: string
                                  permission:
                                    type: string
                                  name:
                                    type: string
                                  description:
                                    type: string
                                  options:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        key:
                                          type: string
                                        required:
                                          type: boolean
                                        description:
                                          type: string
                                        name:
                                          type: string
                                        type:
                                          type: integer
                                        choices:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              key:
                                                type: 'null'
                                              value:
                                                type: string
                                              name:
                                                type: string
                                              type:
                                                type: integer
                                            required:
                                              - key
                                              - value
                                              - name
                                              - type
                                            x-apifox-orders:
                                              - key
                                              - value
                                              - name
                                              - type
                                      required:
                                        - key
                                        - required
                                        - description
                                        - name
                                        - type
                                      x-apifox-orders:
                                        - key
                                        - required
                                        - description
                                        - name
                                        - type
                                        - choices
                                  id:
                                    type: string
                                  type:
                                    type: integer
                                required:
                                  - protocol
                                  - permission
                                  - name
                                  - description
                                  - options
                                  - id
                                  - type
                                x-apifox-orders:
                                  - protocol
                                  - permission
                                  - name
                                  - description
                                  - options
                                  - id
                                  - type
                            bot_bind_role:
                              type: 'null'
                            creator:
                              type: 'null'
                            permissions:
                              type: 'null'
                            joined_time:
                              type: integer
                          x-apifox-orders:
                            - bot_account_info
                            - commands
                            - bot_bind_role
                            - creator
                            - permissions
                            - joined_time
                      integration:
                        type: object
                        properties:
                          used_bot_commands:
                            type: 'null'
                        required:
                          - used_bot_commands
                        x-apifox-orders:
                          - used_bot_commands
                    required:
                      - room_id
                      - room
                      - channels
                      - roles
                      - my_roles
                      - my_room_info
                      - user_notify_settings
                      - read_states
                      - bot_infos
                      - integration
                    x-apifox-orders:
                      - room_id
                      - room
                      - channels
                      - roles
                      - my_roles
                      - my_room_info
                      - user_notify_settings
                      - read_states
                      - bot_infos
                      - integration
                  status:
                    type: string
                required:
                  - msg
                  - result
                  - status
                x-apifox-orders:
                  - msg
                  - result
                  - status
              example:
                room_id: '3713907767125508096'
                room:
                  room_join_verify:
                    question: ''
                    room_id: '0'
                    verify_switch: false
                  room_setting:
                    show_room_level: 1
                    game_theme: null
                    room_notify_type: 1
                    room_default_channel: null
                    room_show_offline_user: 1
                    show_recommend_set_only_at: 0
                    show_bind_game: 2
                    welcome_channel: null
                    use_voice_pack_room_only: 0
                    show_apply_hot: 1
                    room_icon_id: null
                    bind_game_ids: null
                    similar_game_ids: null
                    similar_game_infos: null
                    bind_game_infos: null
                    auto_mod:
                      filter_word_list: []
                      filter_urls:
                        name: ''
                        filter_words: null
                        actions: []
                        id: '0'
                        enable: false
                        only_send_chat_url: false
                      filter_qrcode: null
                    talkable: null
                    default_permissions: '270615626050'
                    hide_room_fire_flag: false
                    hide_member_fire_flag: false
                  room_bind_team:
                    appid: 0
                    room_id: '0'
                    channel_id: '0'
                    room_sync_team: 0
                    team_sync_room: 0
                  room_fire_flag:
                    cumulative_days: 0
                    continuous_days: 0
                    active_members: 0
                    inactive_days: 0
                  room_id: '3713907767125508096'
                  room_name: '1'
                  room_avatar: ''
                  room_pic: ''
                  public_id: '704494'
                  introduction: ''
                  main_color_v2: null
                  bar_main_color: 0
                  bar_main_color_v2: null
                  bg_pic: ''
                  bg_color: ''
                  bar_color: ''
                  bg_pic_main_color: ''
                  blur_rate: 0
                  transparency: 20
                  main_color: 0
                  show_channel_bar_filter: false
                  can_change_bg_pic: null
                  show_room_level: 1
                  game_theme: null
                  room_notify_type: 1
                  room_default_channel: null
                  room_show_offline_user: 1
                  show_recommend_set_only_at: 0
                  show_bind_game: 2
                  welcome_channel: null
                  use_voice_pack_room_only: 0
                  show_apply_hot: 1
                  room_icon_id: null
                  bind_game_ids: null
                  similar_game_ids: null
                  similar_game_infos: null
                  auto_mod:
                    filter_word_list: []
                    filter_urls:
                      name: ''
                      filter_words: null
                      actions: []
                      id: '0'
                      enable: false
                      only_send_chat_url: false
                    filter_qrcode: null
                  talkable: null
                  default_permissions: '0'
                  hide_room_fire_flag: false
                  hide_member_fire_flag: false
                  create_by: 32108666
                  link_id: 0
                  is_public: 1
                  is_hot: 0
                  room_type: 0
                  apply_hot_status: 0
                  can_decorate: false
                  room_task:
                    room_level: 1
                    finish_rate: 0.041666666666666664
                    now_level_finish_rate: 0.08333333333333333
                    max_room_level: 3
                    tasks:
                      - task_id: 0
                        task_name: 房间人数${now_counts}/${target_counts}
                        task_pic: icon-friends
                        target_counts: 6
                        now_counts: 1
                        finished: 0
                        reachable: 1
                      - task_id: 1
                        task_name: 近7天房间成员累计语音时长${now_counts}/${target_counts}分钟
                        task_pic: icon-history
                        target_counts: 300
                        now_counts: 0
                        finished: 0
                        reachable: 1
                    warn_tasks: null
                  room_icon: null
                  member_count: 1
                  online_count: 0
                  audio_count: 0
                  update_time: 0
                  enable_switch_line: true
                  av_line_list:
                    - name: 线路1
                      value: trtc
                      resolution_map: null
                    - name: 线路2
                      value: volc
                      resolution_map: null
                  channel_fold_user: 15
                  members: null
                  screen_share_members: null
                  audio_share_members: null
                  promise_display_info: ''
                  bind_game_infos: null
                  customization:
                    room_id: '3713907767125508096'
                    customization_switch: false
                    available_channels: null
                    questions: null
                    update_time: 0
                    create_time: 0
                  enable_customization: true
                  rec_desc: ''
                  anc: null
                channels:
                  - api_type: trtc
                    max_count: 100
                    follow_group: 15
                    follow_group_v1: 0
                    slow_mode: 0
                    audio_bitrate: 128
                    tip_sound_user_limit: 15
                    is_private: 0
                    mini_pro_id: ''
                    channel_icon: ''
                    channel_url: ''
                    tab: ''
                    channel_id: '3713907767219945472'
                    channel_name: 文字频道
                    channel_type: 3
                    channel_create_by: 32108666
                    bind_topic_id: 0
                    create_by: 32108666
                    level: 999
                    state: 0
                    bind_app_id: 0
                    password: false
                    channel_list:
                      - api_type: trtc
                        max_count: 100
                        follow_group: 15
                        follow_group_v1: 0
                        slow_mode: 0
                        audio_bitrate: 128
                        tip_sound_user_limit: 15
                        is_private: 0
                        parent_id: '3713907767219945472'
                        mini_pro_id: ''
                        channel_icon: ''
                        channel_url: ''
                        tab: ''
                        channel_id: '3713907767219945474'
                        channel_name: 默认频道
                        channel_type: 1
                        channel_create_by: 32108666
                        bind_topic_id: 0
                        create_by: 32108666
                        level: 999
                        state: 0
                        bind_app_id: 0
                        password: false
                        channel_list: []
                        permission_overwrites: null
                        permission_sync: 0
                        channel_mini_pro: null
                        user_perm:
                          allow: '0'
                          deny: '0'
                    permission_overwrites: null
                    permission_sync: 0
                    channel_mini_pro: null
                    user_perm:
                      allow: '0'
                      deny: '0'
                  - api_type: volc
                    max_count: 100
                    follow_group: 15
                    follow_group_v1: 0
                    slow_mode: 0
                    audio_bitrate: 128
                    tip_sound_user_limit: 15
                    is_private: 0
                    mini_pro_id: ''
                    channel_icon: ''
                    channel_url: ''
                    tab: ''
                    channel_id: '3713907767219945476'
                    channel_name: 语音频道
                    channel_type: 3
                    channel_create_by: 32108666
                    bind_topic_id: 0
                    create_by: 32108666
                    level: 999
                    state: 0
                    bind_app_id: 0
                    password: false
                    channel_list: []
                    permission_overwrites: null
                    permission_sync: 0
                    channel_mini_pro: null
                    user_perm:
                      allow: '0'
                      deny: '0'
                roles:
                  - name: 高级管理员
                    icon: ''
                    color_list: null
                    id: '3713907767152844802'
                    department_id: '3713907767125508096'
                    room_id: '3713907767125508096'
                    permissions: '1'
                    type: 7
                    color: 3198065
                    position: 0
                    del_tag: 1
                    hoist: 1
                    mentionable: 0
                    creator: 32108666
                    create_time: 1731567281
                  - name: 游客
                    icon: ''
                    color_list: null
                    id: '3713907767152844804'
                    department_id: '3713907767125508096'
                    room_id: '3713907767125508096'
                    permissions: '2'
                    type: 254
                    color: 0
                    position: 32766
                    del_tag: 1
                    hoist: 0
                    mentionable: 0
                    creator: 32108666
                    create_time: 1731567281
                  - name: 全体成员
                    icon: ''
                    color_list: null
                    id: '3713907767152844800'
                    department_id: '3713907767125508096'
                    room_id: '3713907767125508096'
                    permissions: '270615626050'
                    type: 255
                    color: 0
                    position: 32767
                    del_tag: 1
                    hoist: 0
                    mentionable: 0
                    creator: 32108666
                    create_time: 1731567281
                my_roles: []
                my_room_info:
                  room_nickname: ''
                  show_room_bg: 1
                  ban:
                    operator_id: null
                    reason: ''
                    until: '0'
                    notify: false
                  mute_earphone:
                    operator_id: null
                    mute: false
                  mute_room:
                    operator_id: null
                    mute: false
                  show_game_name: null
                  show_game_card: null
                  read_anc_time: 0
                  is_visitor: false
                  customization:
                    finish: true
                    responses: null
                  create_time: 1731567281033
                  continuous_days: 0
                  hide_fire_flag: null
                  show_fire_tip_time: 0
                user_notify_settings:
                  '3713907767125508096':
                    dnds: null
                    flags: null
                    room_id: '3713907767125508096'
                    department_id: '3713907767125508096'
                    notify_type: 1
                  '3713907767219945472':
                    dnds: null
                    flags: null
                    room_id: '3713907767125508096'
                    department_id: '3713907767219945472'
                    notify_type: 0
                  '3713907767219945474':
                    dnds: null
                    flags: null
                    room_id: '3713907767125508096'
                    department_id: '3713907767219945474'
                    notify_type: 0
                  '3713907767219945476':
                    dnds: null
                    flags: null
                    room_id: '3713907767125508096'
                    department_id: '3713907767219945476'
                    notify_type: 0
                read_states:
                  '3713907767219945474':
                    message_count: 0
                    mention_count: 0
                    last_read_message_id: '1870221897717407744'
                    last_read_time: 1734730626956
                    last_at_message_id: '0'
                bot_infos:
                  - bot_account_info:
                      avatar_decoration: null
                      tag: null
                      nickname: 内置命令
                      avatar: ''
                      medals: null
                      user_id: -1
                      level: 0
                      bot: false
                      room_nickname: ''
                      roles: null
                    commands:
                      - protocol: heyboxchat://bot-command/?command=add_bot
                        permission: '1'
                        name: /addBot
                        description: 邀请新的机器人进入房间
                        options:
                          - key: bot_id
                            required: true
                            description: 请输入Bot的ID,可以通过点击Bot的头像获得
                            name: Bot的ID
                            type: 4
                        id: '1'
                        type: 1
                      - protocol: heyboxchat://bot-command/?command=del_bot
                        permission: '1024'
                        name: /deleteBot
                        description: 移出已有机器人
                        options:
                          - key: bot_id
                            required: true
                            description: 请选择移出房间的Bot成员
                            name: Bot成员
                            type: 6
                        id: '2'
                        type: 1
                      - protocol: heyboxchat://bot-command/?command=black_add
                        permission: '4096'
                        name: /ban
                        description: 移出房间并将用户加入房间黑名单
                        options:
                          - key: to_user_id
                            required: true
                            name: 移出用户
                            type: 6
                          - key: delete_msg_range
                            required: true
                            name: 删除最近发言
                            choices:
                              - key: null
                                value: '0'
                                name: 不删除
                                type: 4
                              - key: null
                                value: '3600'
                                name: 过去1小时
                                type: 4
                              - key: null
                                value: '21600'
                                name: 过去6小时
                                type: 4
                              - key: null
                                value: '43200'
                                name: 过去12小时
                                type: 4
                              - key: null
                                value: '86400'
                                name: 过去24小时
                                type: 4
                            type: 3
                          - key: reason
                            required: false
                            name: 拉黑理由
                            type: 3
                        id: '4'
                        type: 1
                    bot_bind_role: null
                    creator: null
                    permissions: null
                    joined_time: 0
                integration:
                  used_bot_commands: null
          headers: {}
          x-apifox-name: 成功
      security:
        - apikey-header-token: []
      x-apifox-folder: HTTP接口/房间接口
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/4856361/apis/api-226373528-run
components:
  schemas: {}
  securitySchemes:
    token:
      type: apikey
      in: header
      name: token
      token: ODYzNzY0NDM7MTc1NTc1OTk1NzYyODYzNjQ0NzsxNTU0MDM2NTkxNzk2OTM1OTY5
    apikey-header-token:
      type: apiKey
      in: header
      name: token
servers:
  - url: http://prod-cn.your-api-server.com
    description: 正式环境
security:
  - apikey-header-token: []

```
