public class DeleteComment extends VkMethod<IntegerResponseBody>
Deletes a comment on a topic on a community's discussion board.
| Constructor and Description |
|---|
DeleteComment(String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
DeleteComment |
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.
|
DeleteComment |
setCommentId(int commentId)
Sets Comment ID.
|
DeleteComment |
setGroupId(int groupId)
Sets Group ID.
|
DeleteComment |
setTopicId(int topicId)
Sets Topic ID.
|
csv, execute, executeAsync, getAccessToken, getGson, getRequestBody, property, toStringpublic DeleteComment(String accessToken)
public String getUri()
VkMethodgetUri in class VkMethod<IntegerResponseBody>protected Class<IntegerResponseBody> getResponseClass()
VkMethodgetResponseClass in class VkMethod<IntegerResponseBody>public DeleteComment setGroupId(int groupId)
groupId - Group ID.public DeleteComment setTopicId(int topicId)
topicId - Topic ID.public DeleteComment setCommentId(int commentId)
commentId - Comment ID.public DeleteComment addParam(String key, Object value)
VkMethodaddParam in class VkMethod<IntegerResponseBody>key - URL parameter key.value - URL parameter value.Copyright © 2022. All rights reserved.