public class Restore extends VkMethod<IntegerResponseBody>
Restores a deleted message.
| Modifier and Type | Method and Description |
|---|---|
Restore |
addParam(String key,
Object value)
Adds URL parameter to HTTP request.
|
protected Class<IntegerResponseBody> |
getResponseClass()
Gets a class of VK API response.
|
String |
getUri()
Gets request URI.
|
Restore |
setGroupId(int groupId) |
Restore |
setMessageId(int messageId) |
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic Restore(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<IntegerResponseBody>protected Class<IntegerResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<IntegerResponseBody>public Restore setMessageId(int messageId)
public Restore setGroupId(int groupId)
Copyright © 2022. All rights reserved.