Browse SDKs · React Native
Platform
SDKsReact Native

Update typing status

Send custom typing status indicator text to a one-to-one conversation recipient using the OpenIM React Native SDK.

Copy

Send custom typing indicator text to the counterparty in a one-to-one conversation:

await OpenIMSDK.typingStatusUpdate({
  recvID: receiverUserID,
  msgTip: 'typing…',
});

Parameters

ParameterTypeRequiredDescription
recvIDstringYesRecipient user ID in the target one-to-one conversation.
msgTipstringYesCustom typing indicator message string.

Return value

A resolved Promise confirms that the custom typing status indicator was dispatched to the recipient.

To synchronize typing activity automatically based on input focus events, see Change input states.