Skip to main content

setMessageLocalEx

Feature Introduction

Description

Modify the local ex field of the message, such as setting the save path after downloading a file.

Note

Related Callback: onConversationChanged If the message being modified is the latest one, then the latest message in the conversation will change.

Function Prototype

- (void)setMessageLocalEx:(NSString *)conversationID
clientMsgID:(NSString *)clientMsgID
localEx:(NSString *)localEx
onSuccess:(OIMSuccessCallback)onSuccess
onFailure:(OIMFailureCallback)onFailure;

Input Parameters

Parameter NameParameter TypeRequiredDescription
conversationIDNSStringYesConversation ID
clientMsgIDNSStringYesMessage ID
localExNSStringYesex information to be set

Return Value

Parameter NameParameter TypeDescription
onSuccessOIMSuccessCallbackCallback on success
onFailureOIMFailureCallbackCallback on error

Code Example

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

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

}];