SDKsuni-app
Create a reply message
OpenIM uni-app / uni-app x SDK guide for Create a reply message.
import { createQuoteMessage } from '@/uni_modules/unix-openim-sdk'
const message = await createQuoteMessage({ text: 'Agreed', message: JSON.stringify(quotedMessage) })Use the complete SDK message snapshot, not a fabricated ID-only object. createAdvancedQuoteMessage() also supports text entities. Render a safe unavailable state if the quoted source is later revoked or deleted.
Was this page helpful?