public class GetById extends VkMethod<GetById.ResponseBody>
Returns messages by their IDs.
| Modifier and Type | Class and Description |
|---|---|
static class |
GetById.ResponseBody
Response to messages.getById request.
|
| Modifier and Type | Method and Description |
|---|---|
GetById |
addParam(String key,
Object value)
Adds URL parameter to HTTP request.
|
protected Class<GetById.ResponseBody> |
getResponseClass()
Gets a class of VK API response.
|
String |
getUri()
Gets request URI.
|
GetById |
setExtended(boolean extended) |
GetById |
setFields(List<String> fields) |
GetById |
setFields(String... fields) |
GetById |
setGroupId(int groupId) |
GetById |
setMessageIds(Integer... messageIds) |
GetById |
setMessageIds(List<Integer> messageIds) |
GetById |
setPreviewLength(int previewLength) |
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic GetById(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<GetById.ResponseBody>protected Class<GetById.ResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<GetById.ResponseBody>public GetById setPreviewLength(int previewLength)
public GetById setExtended(boolean extended)
public GetById setGroupId(int groupId)
Copyright © 2022. All rights reserved.