Эх сурвалжийг харах

增加 describe 请求模板

cherishsince 1 жил өмнө
parent
commit
dabe491cde

+ 28 - 0
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/http-body/describe.json

@@ -0,0 +1,28 @@
+{
+  "type": 2,
+  "guild_id": "$guild_id",
+  "channel_id": "$channel_id",
+  "application_id": "936929561302675456",
+  "session_id": "$session_id",
+  "nonce": "$nonce",
+  "data": {
+    "version": "1204231436023111690",
+    "id": "1092492867185950852",
+    "name": "describe",
+    "type": 1,
+    "options": [
+      {
+        "type": 11,
+        "name": "image",
+        "value": 0
+      }
+    ],
+    "attachments": [
+      {
+        "id": "0",
+        "filename": "$file_name",
+        "uploaded_filename": "$final_file_name"
+      }
+    ]
+  }
+}