Browse SDKs · uni-app / uni-app x
SDKsuni-app

Create a forwarded message

OpenIM uni-app / uni-app x SDK guide for Create a forwarded message.

Copy
import { createForwardMessage } from '@/uni_modules/unix-openim-sdk'

const forward = await createForwardMessage(sourceMessage)

The Promise creates OpenIMMessageItem | null and does not send it. Check content-sharing permissions and privacy first. Device-local extension and send-state fields are not recipient-authoritative data.