AVIMConversationsQuery memberQuery = mAVIMClient.getConversationsQuery();
memberQuery.limit(300);
memberQuery.setWithLastMessagesRefreshed(true);
memberQuery.whereContainsAll("m", Arrays.asList(“im_cust_id));
AVIMConversationsQuery sysQuery = mAVIMClient.getConversationsQuery();
sysQuery.whereEqualTo("sys", false);
AVIMConversationsQuery.or(Arrays.asList(sysQuery, memberQuery)).findInBackground(new AVIMConversationQueryCallback() {
@Override
public void done(List list, AVIMException e) {
}
}
});