public class GetById extends AuthorizedVkApiMethod<GetById.Response>
Returns messages by their IDs.
Modifier and Type | Class and Description |
---|---|
static class |
GetById.Response
Response to messages.getById request.
|
Modifier and Type | Method and Description |
---|---|
protected Class<GetById.Response> |
getResultType()
Gets type of VK API response.
|
protected String |
getUrl()
Gets VK API URL.
|
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) |
addParam, execute, execute, executeAsync, getAsyncCaller, getJsonConverter, getMethod, getParams, getVkApiHttpClient, getVkApiParamsConverter, getVkApiResponseValidator, setAsyncCaller, setJsonConverter, setMethod, setParams, setVkApiHttpClient, setVkApiParamsConverter, setVkApiResponseValidator
public GetById(String accessToken)
protected String getUrl()
VkApiMethod
getUrl
in class VkApiMethod<GetById.Response>
protected Class<GetById.Response> getResultType()
VkApiMethod
getResultType
in class VkApiMethod<GetById.Response>
public GetById setPreviewLength(int previewLength)
public GetById setExtended(boolean extended)
public GetById setGroupId(int groupId)
Copyright © 2021. All rights reserved.