设置消息的发送状态
消息 ID,注意:需要传递的参数为 number 类型的 messageId 而非 string 类型的 messageUId
消息的发送状态,类型为 SentStatus
本接口仅适用 Electron 平台设置自己发送的消息的发送状态
5.4.0
设置消息的发送状态示例:
const messageId = 123;const sentStatus = RongIMLib.SentStatus.SENT;const res = await RongIMLib.electronExtension.setMessageSentStatus(messageId, sentStatus);console.info('设置消息的发送状态结果:', res); Copy
const messageId = 123;const sentStatus = RongIMLib.SentStatus.SENT;const res = await RongIMLib.electronExtension.setMessageSentStatus(messageId, sentStatus);console.info('设置消息的发送状态结果:', res);
设置消息的发送状态