public class GetInviteLink extends AuthorizedVkApiMethod<GetInviteLink.Response>
Receives a link to invite a user to the chat.
Modifier and Type | Class and Description |
---|---|
static class |
GetInviteLink.Response
Response to messages.getInviteLink request.
|
Constructor and Description |
---|
GetInviteLink(String accessToken) |
Modifier and Type | Method and Description |
---|---|
protected Class<GetInviteLink.Response> |
getResultType()
Gets type of VK API response.
|
protected String |
getUrl()
Gets VK API URL.
|
GetInviteLink |
setGroupId(int groupId) |
GetInviteLink |
setPeerId(int peerId) |
GetInviteLink |
setReset(boolean reset) |
addParam, execute, execute, executeAsync, getAsyncCaller, getJsonConverter, getMethod, getParams, getVkApiHttpClient, getVkApiParamsConverter, getVkApiResponseValidator, setAsyncCaller, setJsonConverter, setMethod, setParams, setVkApiHttpClient, setVkApiParamsConverter, setVkApiResponseValidator
public GetInviteLink(String accessToken)
protected String getUrl()
VkApiMethod
getUrl
in class VkApiMethod<GetInviteLink.Response>
protected Class<GetInviteLink.Response> getResultType()
VkApiMethod
getResultType
in class VkApiMethod<GetInviteLink.Response>
public GetInviteLink setPeerId(int peerId)
public GetInviteLink setReset(boolean reset)
public GetInviteLink setGroupId(int groupId)
Copyright © 2021. All rights reserved.