SDKsuni-app
Create an emoji message
OpenIM uni-app / uni-app x SDK guide for Create an emoji message.
import { createFaceMessage } from '@/uni_modules/unix-openim-sdk'
const message = await createFaceMessage({ index: 1, data: 'smile' })The Promise creates OpenIMMessageItem | null and does not send it. Sender and receiver must share the same sticker package/version mapping. Render an unknown-index placeholder instead of failing the message list.
Was this page helpful?