public class GetInviteLink extends VkMethod<GetInviteLink.ResponseBody>
Receives a link to invite a user to the chat.
| Modifier and Type | Class and Description |
|---|---|
static class |
GetInviteLink.ResponseBody
Response to messages.getInviteLink request.
|
| Constructor and Description |
|---|
GetInviteLink(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
GetInviteLink |
addParam(String key,
Object value)
Adds URL parameter to HTTP request.
|
protected Class<GetInviteLink.ResponseBody> |
getResponseClass()
Gets a class of VK API response.
|
String |
getUri()
Gets request URI.
|
GetInviteLink |
setGroupId(int groupId) |
GetInviteLink |
setPeerId(int peerId) |
GetInviteLink |
setReset(boolean reset) |
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic GetInviteLink(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<GetInviteLink.ResponseBody>protected Class<GetInviteLink.ResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<GetInviteLink.ResponseBody>public GetInviteLink setPeerId(int peerId)
public GetInviteLink setReset(boolean reset)
public GetInviteLink setGroupId(int groupId)
public GetInviteLink addParam(String key, Object value)
VkMethodaddParam in class VkMethod<GetInviteLink.ResponseBody>key - URL parameter key.value - URL parameter value.Copyright © 2022. All rights reserved.