feat: add OpenClaw integration guide for OpenIM#293
feat: add OpenClaw integration guide for OpenIM#293Bloomingg merged 3 commits intoopenimsdk:mainfrom
Conversation
❌ Deploy Preview for openimdocs failed.
|
|
To use Codex here, create an environment for this repo. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9d1ff4438c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| | -------------- | ------ | -------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | ||
| | secret | string | 32 | 服务端秘钥 | 字符串 | | ||
| | platformID | int | | 用户登录时的终端类型 | 1:iOS, 2:Android, 3:Windows, 4:OSX, 5:Web, 6:MiniWeb, 7:Linux, 8:APad, 9:IPad, 10:Admin, 11:HarmonyOS,12:Bot| | ||
| | platformID | int | | 用户登录时的终端类型 | 1:iOS, 2:Android, 3:Windows, 4:OSX, 5:Web, 6:MiniWeb, 7:Linux, 8:APad, 9:IPad, 10:Admin, 11:HarmonyOS| |
There was a problem hiding this comment.
Restore bot platform ID in shared platformID enum docs
This edit removes 12:Bot from the canonical platformID value list, but the same commit explicitly instructs OpenClaw users to mint tokens with platformID=12 (docs/guides/solution/openclaw.md:38). Since REST API pages such as getUserToken reference /commonFields.md for valid terminal types, this contradiction will lead users to treat 12 as invalid and issue unusable tokens for bot scenarios; keep the common enum and the OpenClaw flow consistent.
Useful? React with 👍 / 👎.
🅰 Please add the issue ID after "Fixes #"
Fixes #