public class RemoveChatUser extends AuthorizedVkApiMethod<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 |
---|---|
protected Class<IntegerResponse> |
getResultType()
Gets type of VK API response.
|
protected String |
getUrl()
Gets VK API URL.
|
RemoveChatUser |
setChatId(int chatId) |
RemoveChatUser |
setMemberId(int memberId) |
RemoveChatUser |
setUserId(int userId) |
addParam, execute, execute, executeAsync, getAsyncCaller, getJsonConverter, getMethod, getParams, getVkApiHttpClient, getVkApiParamsConverter, getVkApiResponseValidator, setAsyncCaller, setJsonConverter, setMethod, setParams, setVkApiHttpClient, setVkApiParamsConverter, setVkApiResponseValidator
public RemoveChatUser(String accessToken)
protected String getUrl()
VkApiMethod
getUrl
in class VkApiMethod<IntegerResponse>
protected Class<IntegerResponse> getResultType()
VkApiMethod
getResultType
in class VkApiMethod<IntegerResponse>
public RemoveChatUser setChatId(int chatId)
public RemoveChatUser setUserId(int userId)
public RemoveChatUser setMemberId(int memberId)
Copyright © 2021. All rights reserved.