public class RemoveChatUser extends VkMethod<IntegerResponse>
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<IntegerResponse> |
getResponseType()
Gets type of VK API response.
|
String |
getUrl()
Gets HTTP request URL.
|
RemoveChatUser |
setChatId(int chatId) |
RemoveChatUser |
setMemberId(int memberId) |
RemoveChatUser |
setUserId(int userId) |
execute, executeAsync, getMultipartFormData, getParams, getRequestMethod, setMultipartFormData
public RemoveChatUser(String accessToken)
public String getUrl()
HttpRequest
protected Class<IntegerResponse> getResponseType()
VkMethod
getResponseType
in class VkMethod<IntegerResponse>
public RemoveChatUser setChatId(int chatId)
public RemoveChatUser setUserId(int userId)
public RemoveChatUser setMemberId(int memberId)
public RemoveChatUser addParam(String key, Object value)
VkMethod
addParam
in class VkMethod<IntegerResponse>
key
- URL parameter key.value
- URL parameter value.Copyright © 2021. All rights reserved.