SDKsReact Native
Update typing status
Send custom typing status indicator text to a one-to-one conversation recipient using the OpenIM React Native SDK.
Send custom typing indicator text to the counterparty in a one-to-one conversation:
await OpenIMSDK.typingStatusUpdate({
recvID: receiverUserID,
msgTip: 'typing…',
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
recvID | string | Yes | Recipient user ID in the target one-to-one conversation. |
msgTip | string | Yes | Custom 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.
Was this page helpful?