I use the QuickBlox SDK to download chat history. Like this:
- Create session
- after successfully creating the Initialize chatService section
- Login to the chat service
- After a successful login.
Bundle bundle = new Bundle(); QBRequestGetBuilder customObjectRequestBuilder = new QBRequestGetBuilder(); customObjectRequestBuilder.setPagesLimit(ConstsCore.CHATS_DIALOGS_PER_PAGE); try { List<QBDialog> chatDialogsList = QBChatService.getChatDialogs(null, customObjectRequestBuilder,bundle); } catch (QBResponseException e) { e.printStackTrace(); }
At this point, I get this exception:
base is prohibited. Need a user.
source share