Skip to main content

setMessageLocalEx

Description

info

Modify the local message ex field, e.g., setting the save path after downloading a file.

Note

Related Callback:
onConversationChanged
If the modified message is the latest message, the latest message of 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 info to set

Return Result

Parameter NameParameter TypeDescription
onSuccessOIMSuccessCallbackSuccess callback
onFailureOIMFailureCallbackFailure callback

Code Example

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

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

}];