Commit e91e7355dc437420780f00ad10d4c1e21c9a4a1f
1 parent
5d4a1111
发送消息 type2 和 type3
Showing
2 changed files
with
62 additions
and
0 deletions
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type2.json
0 → 100644
| 1 | +{ | |
| 2 | + "type": 2, | |
| 3 | + "application_id": "936929561302675456", | |
| 4 | + "guild_id": "1224337694918971392", | |
| 5 | + "channel_id": "1224337694918971396", | |
| 6 | + "session_id": "696318caed5180a2210e358e44801449", | |
| 7 | + "data": { | |
| 8 | + "version": "1166847114203123795", | |
| 9 | + "id": "938956540159881230", | |
| 10 | + "name": "imagine", | |
| 11 | + "type": 1, | |
| 12 | + "options": [ | |
| 13 | + { | |
| 14 | + "type": 3, | |
| 15 | + "name": "prompt", | |
| 16 | + "value": "中国的是什么样子" | |
| 17 | + } | |
| 18 | + ], | |
| 19 | + "application_command": { | |
| 20 | + "id": "938956540159881230", | |
| 21 | + "type": 1, | |
| 22 | + "application_id": "936929561302675456", | |
| 23 | + "version": "1166847114203123795", | |
| 24 | + "name": "imagine", | |
| 25 | + "description": "Create images with Midjourney", | |
| 26 | + "options": [ | |
| 27 | + { | |
| 28 | + "type": 3, | |
| 29 | + "name": "prompt", | |
| 30 | + "description": "The prompt to imagine", | |
| 31 | + "required": true, | |
| 32 | + "description_localized": "The prompt to imagine", | |
| 33 | + "name_localized": "prompt" | |
| 34 | + } | |
| 35 | + ], | |
| 36 | + "dm_permission": true, | |
| 37 | + "integration_types": [ | |
| 38 | + 0 | |
| 39 | + ], | |
| 40 | + "global_popularity_rank": 1, | |
| 41 | + "description_localized": "Create images with Midjourney", | |
| 42 | + "name_localized": "imagine" | |
| 43 | + }, | |
| 44 | + "attachments": [] | |
| 45 | + }, | |
| 46 | + "nonce": "1224342266261274624", | |
| 47 | + "analytics_location": "slash_ui" | |
| 48 | +} | |
| 0 | 49 | \ No newline at end of file | ... | ... |
yudao-module-ai/yudao-spring-boot-starter-ai/src/main/java/cn/iocoder/yudao/framework/ai/Midjourney/interactions_type3.json
0 → 100644
| 1 | +{ | |
| 2 | + "type": 3, | |
| 3 | + "nonce": "1224397626158350336", | |
| 4 | + "guild_id": "1224337694918971392", | |
| 5 | + "channel_id": "1224337694918971396", | |
| 6 | + "message_flags": 64, | |
| 7 | + "message_id": "1224397599197368330", | |
| 8 | + "application_id": "936929561302675456", | |
| 9 | + "session_id": "0d9ae3c799f2fb55ff435df5e6deb121", | |
| 10 | + "data": { | |
| 11 | + "component_type": 2, | |
| 12 | + "custom_id": "MJ::ModMsg::Ack::2744093999977583880" | |
| 13 | + } | |
| 14 | +} | |
| 0 | 15 | \ No newline at end of file | ... | ... |