Skip to main content

typingStatusUpdate

Feature Introduction

Note

Send typing status, the recipient will receive it only if they are online on IM.

Caution

Function Prototype


- (void)typingStatusUpdate:(NSString *)recvID
msgTip:(NSString *)msgTip
onSuccess:(nullable OIMSuccessCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameData TypeMandatoryDescription
recvIDNSStringYesReceiver's ID
msgTipNSStringYesCustom content prompt

Return Results

NameTypeDescription
onSuccessOIMSuccessCallbackSuccessful return
onFailureOIMFailureCallbackFailed return

Code Example


[OIMManager.manager typingStatusUpdate:@""
msgTip:@""
onSuccess:^(NSString * _Nullable data) {
} onFailure:^(NSInteger code, NSString * _Nullable msg) {
}];