Skip to main content

resetConversationGroupAtType

Feature Introduction

Description

Reset the @ flag to its default value.

Note

When someone in the group chat uses the @ mention, or when the group owner sends a group announcement, the groupAtType in the conversation is triggered to the corresponding type. After the user clicks on the conversation, calling this interface will reset the groupAtType in the conversation to its default value 0.

Related Callback:
onConversationChanged

Function Prototype


- (void)resetConversationGroupAtType:(NSString *)conversationID
onSuccess:(nullable OIMSuccessCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameData TypeMandatoryDescription
conversationIDNSStringYesConversation ID

Return Result

NameTypeDescription
onSuccessOIMSuccessCallbackSuccess return
onFailureOIMFailureCallbackFailure return

Code Example


[OIMManager.manager resetConversationGroupAtType:@""
onSuccess:^(NSString * _Nullable data) {

} onFailure:^(NSInteger code, NSString * _Nullable msg) {

}];