Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] REST API does not support 114 reference message #2820

Closed
cipchk opened this issue Oct 19, 2024 · 1 comment · May be fixed by #2819
Closed

[FEATURE REQUEST] REST API does not support 114 reference message #2820

cipchk opened this issue Oct 19, 2024 · 1 comment · May be fixed by #2819
Assignees
Labels
enhancement New feature or request

Comments

@cipchk
Copy link

cipchk commented Oct 19, 2024

Why this feature?

{API_ADDRESS}/msg/send_msg 发送内容为:

{
  "sendID": "30",
  "groupID": "15",
  "senderNickname": "aaa",
  "senderPlatformID": 5,
  "content": {
    "text": "test",
    "quoteMessage": {
      "clientMsgID": "0a20214bea009099cfbc9868177ae7f6",
      "serverMsgID": "a728842c34633aa9966eece9381b02ef",
      "createTime": 1728994264223,
      "sendTime": 1728994264223,
      "sessionType": 3,
      "sendID": "28",
      "recvID": "16",
      "msgFrom": 200,
      "contentType": 101,
      "senderPlatformID": 5,
      "senderNickname": "abc",
      "groupID": "15",
      "seq": 150,
      "isRead": false,
      "status": 2,
      "textElem": { "content": "123" },
      "attachedInfoElem": {
        "groupHasReadInfo": { "hasReadCount": 0, "groupMemberCount": 0 },
        "isPrivateChat": false,
        "burnDuration": 0,
        "hasReadTime": 0,
        "isEncryption": false,
        "inEncryptStatus": false
      }
    }
  },
  "contentType": 114,
  "sessionType": 3,
  "isOnlineOnly": false,
  "notOfflinePush": false,
  "offlinePushInfo": {
    "title": "aaa",
    "desc": "aaaaaa",
    "ex": "",
    "iOSPushSound": "+1",
    "iOSBadgeCount": true
  }
}

返回:

unsupported content type, contentType=114: 1001 ArgsError

Suggested Solution

希望 REST API 能支持引用消息类型。

Additional Information

No response

@cipchk cipchk added the enhancement New feature or request label Oct 19, 2024
@OpenIM-Robot OpenIM-Robot changed the title [FEATURE REQUEST] REST API 不支持 114 引用消息 [FEATURE REQUEST] REST API does not support 114 reference message Oct 19, 2024
@FGadvancer FGadvancer transferred this issue from openimsdk/openim-sdk-core Oct 31, 2024
@skiffer-git
Copy link
Member

#2819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants