In VK API there is such a method as messages.removeChatUser, which allows both to exclude a user from a conversation, and to leave the conversation himself. I can not figure out how to make a request to this method. I start the query like this:

VKRequest request = VKApi.messages(). 

but after the dot there is only a part of the methods and there is no removeChatUser. The screenshots show that there are quite a lot of them in the wall , and many methods are missing in the messages . Or am I doing something wrong? enter image description here

enter image description here

I also tried to query the method as follows:

 VKRequest request = new VKRequest("messages.removeChatUser", VKParameters.from("chat_id", 2, "user_id", мой id)); 

But it seems that this method also did not work. Help make a request to vk.com/dev/messages/removeChatUser.

    1 answer 1

    It may be a "captain", but first of all you need to check whether there is access. "To call this method, your application must have the following rights: messages". Some of the methods are not implemented in the VK SDK Andoid, so you need to make requests to call them. Your request is written correctly. Send the error code that comes to you