<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 創建群組 +++ get:/group/create *group_name=組名,群組名稱# *user_name=群主用戶名#群主用戶名 json:members={"key":"value","key_2":"value_2"...}#群組成員用戶 <<< success { "data": [ { "user_id": 組員用戶id, "group_id": 群組id, "id": group_user_id }, { "user_id": 組員用戶id, "is_admin": 0-普通組員,1-群主;2-管理員, "group_id": 群組id, "id": group_user_id } ], "msg": "創建群組成功!", "code": 1 } <<< error { "data": {}, "msg": "創建群組失敗!", "code": 0 } +++ ## 解散群組 +++ get:/group/disband *group_id=群組id# *user_name=群主用戶名#群主用戶名 <<< success { "data": true, "msg": "群組解散成功!", "code": 1 } <<< error { "data": {}, "msg": "群組解散失敗!", "code": 0 } +++ ### 退出群組 ~~~[api] get:/group/quit *exit_user_name=用戶名稱#操作退群的用戶 *int:group_id=群組id#用戶所在群組的id <<< success { "data": true, "msg": "成功退出群組!", "code": 1 } <<< error { "data": {}, "msg": "退出群組失敗!", "code": 0 } ~~~ ## 修改群組資料 +++ get:/group/update *int:group_id=群組id,群組名稱#群組id *user_name=群主用戶名#群主用戶名 *group_name=群組名稱#群組名稱 <<< success { "data": 1, "msg": "更新成功!", "code": 1 } <<< error { "data": {}, "msg": "更新失敗!", "code": 0 } +++ ## 搜索群組 +++ get:/group/search *keyword=模糊搜索群組名稱#群組名稱 <<< success { "data": [ { "id": 群組id, "user_id": 群主的用戶id, "name": 群組名稱 "avator": 群組頭像, "is_group": 群組類型, "created": time(), "updated": time(), "group_user": { "id": group_user_id, "group_id": 群組id, "user_id": 用戶id, "is_admin": 是否是管理員 } }, {....} ], "msg": "搜索成功!", "code": 1 } <<< error { "data": {}, "msg": "暫無符合要求的數據!", "code": 0 } +++ ## 拉人入群 +++ get:/group/addInto *int:group_id=群組id#群組id *json:members=被拉用戶數組# 用戶名稱 <<< success { "data": [ { "user_id":用戶id, "group_id": 群組id, "id": group_user_id }, {....} ], "msg": "操作成功!", "code": 1 } <<< error { "data": {}, "msg": "操作失敗!", "code": 0 } +++ ## 踢人出群 +++ get:/group/kickFrom *int:group_id=群組id#群組id *user_name=群主名稱#群主用戶名 *del_user_name=被移除人的用戶名 #被踢出者用戶名 <<< success { "data": 1, "msg": "移除成功!", "code": 1 } <<< error { "data": {}, "msg": "移除失敗!", "code": 0 } +++ ## 移交群主 +++ get:/group/changeOwner *int:group_id=群組id#群組id *user_name=群主用戶名#群主用戶名 *new_user_name=新群主用戶名#新群主用戶名 <<< success { "data": true, "msg": "移交成功!", "code": 1 } <<< error { "data": {}, "msg": "移交失敗!", "code": 0 } +++ ## 任命管理員 +++ get:/group/addManger *int:group_id=群組id#群組id *user_name=群主用戶名#群主用戶名 *new_user_name=新管理員用戶名#新管理員用戶名 <<< success { "data": 1, "msg": "任命成功!", "code": 1 } <<< error { "data": {}, "msg": "任命失敗!", "code": 0 } +++ ## 移除管理員 +++ get:/group/removeManger *int:group_id=群組id#群組id *user_name=群主用戶名#群主用戶名 *remove_user_name=將要移除的管理員用戶名#舊管理員用戶名 <<< success { "data": 1, "msg": "移除成功!", "code": 1 } <<< error { "data": {}, "msg": "移除失敗!", "code": 0 } +++ ## 獲取用戶加入的群信息 +++ get:/group/joined *user_name=用戶名#用戶名 <<< success { "data": [ { "id": 群組id, "user_id": 用戶id, "name": 群組信息, "avator": 群組頭像id, "is_group": 群組類型, "created": time(), "updated": time() } ], "msg": "查詢成功", "code": 1 } <<< error { "data": {}, "msg": "查詢失敗", "code": 0 } +++ ## 獲取群成員用戶信息 ~~~[api] get:/group/members *int:group_id=群組id#群組id <<< success { "data": [ { "id": profile_id, "user_id": 用戶id, "nickname": "昵稱", "avator": 頭像id, "created": time(), "updated": time(), "sign": "個性簽名" }, ... ], "msg": "查詢成功", "code": 1 } <<< error { "data": {}, "msg": "查詢失敗!", "code": 0 } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看