SDKsuni-appEnterprise
Get typing status
OpenIM uni-app / uni-app x SDK guide for Get typing status.
import { getInputStates } from '@/uni_modules/unix-openim-sdk'
const result = await getInputStates({ conversationID, userID: peerUserID })getInputStates() is a Commercial snapshot query. Typing state is a short-lived hint, not a durable business fact. Update the UI from events and apply a local expiry timeout so a disconnect cannot leave “typing” visible forever. Never use this snapshot for authorization or durable presence.
Was this page helpful?