public class RemoveChatUser extends VkMethod<IntegerResponseBody>
Allows the current user to leave a chat or, if the current user started the chat, allows the user to remove another user from the chat.
| Constructor and Description |
|---|
RemoveChatUser(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
RemoveChatUser |
addParam(String key,
Object value)
Adds URL parameter to HTTP request.
|
protected Class<IntegerResponseBody> |
getResponseClass()
Gets a class of VK API response.
|
String |
getUri()
Gets request URI.
|
RemoveChatUser |
setChatId(int chatId) |
RemoveChatUser |
setMemberId(int memberId) |
RemoveChatUser |
setUserId(int userId) |
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic RemoveChatUser(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<IntegerResponseBody>protected Class<IntegerResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<IntegerResponseBody>public RemoveChatUser setChatId(int chatId)
public RemoveChatUser setUserId(int userId)
public RemoveChatUser setMemberId(int memberId)
public RemoveChatUser addParam(String key, Object value)
VkMethodaddParam in class VkMethod<IntegerResponseBody>key - URL parameter key.value - URL parameter value.Copyright © 2022. All rights reserved.