I use VkApi . Familiar with the getDialogs method: it returns all dialogs. And drugs and conversations. It is required to separate them somehow. I am also aware of getChat and similar methods, but they all require chat_id , which I don’t know how to get. In short, how to get a list of conversations (chats / multi-dialogs, if you like)?
VKRequest req = VKApi.messages().getDialogs(VKParameters.from(VKApiConst.COUNT,100)); req.executeWithListener(new VKRequest.VKRequestListener() { @Override public void onComplete(VKResponse response) { super.onComplete(response); VKApiGetDialogResponse getDialogResponse = (VKApiGetDialogResponse) response.parsedModel; list = getDialogResponse.items; for (VKApiDialog dia : list) { //dia.chat_id - отсутсвует //Возможно нужно как либо привести dia к типу VKApiChat? } } });