Skip to main content

getMultipleConversation

Feature Introduction

Note

Retrieve multiple conversation lists based on specified conversation IDs.

Function Prototype


- (void)getMultipleConversation:(NSArray <NSString *> *)conversationIDs
onSuccess:(nullable OIMConversationsInfoCallback)onSuccess
onFailure:(nullable OIMFailureCallback)onFailure;

Input Parameters

Parameter NameParameter TypeRequiredDescription
conversationIDsNSArray <NSString *>YesList of conversation IDs

Return Results

NameTypeDescription
onSuccessOIMConversationInfoSuccessful return
onFailureOIMFailureCallbackFailed return

Code Example


[OIMManager.manager getMultipleConversation:@[]
onSuccess:^(OIMConversationInfo * _Nullable conversation) {

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

}];