Class Delete
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<Delete.ResponseBody>
api.longpoll.bots.methods.impl.messages.Delete
Implements messages.delete method.
Deletes one or more messages.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Response to messages.delete request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<Delete.ResponseBody>
Gets a class of VK API response.setConversationMessageIds
(Integer... conversationMessageIds) setConversationMessageIds
(Iterable<Integer> conversationMessageIds) setDeleteForAll
(boolean deleteForAll) setGroupId
(int groupId) setMessageIds
(Integer... messageIds) setMessageIds
(Iterable<Integer> messageIds) setPeerId
(int peerId) setSpam
(boolean spam) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
Delete
-
-
Method Details
-
getResponseClass
Description copied from class:VkMethod
Gets a class of VK API response. This value is used during deserialization of received JSON.- Specified by:
getResponseClass
in classVkMethod<Delete.ResponseBody>
- Returns:
- a class of VK API response.
-
setMessageIds
-
setMessageIds
-
setSpam
-
setGroupId
-
setDeleteForAll
-
setConversationMessageIds
-
setConversationMessageIds
-
setPeerId
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<Delete.ResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-