public class Pin extends AuthorizedVkApiMethod<Pin.Response>
Pin the message
Modifier and Type | Class and Description |
---|---|
static class |
Pin.Response
Response to messages.pin request.
|
Modifier and Type | Method and Description |
---|---|
protected Class<Pin.Response> |
getResultType()
Gets type of VK API response.
|
protected String |
getUrl()
Gets VK API URL.
|
Pin |
setConversationMessageId(int conversationMessageId) |
Pin |
setPeerId(int peerId) |
addParam, execute, execute, executeAsync, getAsyncCaller, getJsonConverter, getMethod, getParams, getVkApiHttpClient, getVkApiParamsConverter, getVkApiResponseValidator, setAsyncCaller, setJsonConverter, setMethod, setParams, setVkApiHttpClient, setVkApiParamsConverter, setVkApiResponseValidator
public Pin(String accessToken)
protected String getUrl()
VkApiMethod
getUrl
in class VkApiMethod<Pin.Response>
protected Class<Pin.Response> getResultType()
VkApiMethod
getResultType
in class VkApiMethod<Pin.Response>
public Pin setPeerId(int peerId)
public Pin setConversationMessageId(int conversationMessageId)
Copyright © 2021. All rights reserved.