Class GetConversationsById
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetConversationsById.ResponseBody>
api.longpoll.bots.methods.impl.messages.GetConversationsById
Implements messages.getConversationsById method.
Returns conversations by their IDs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Response to messages.getConversationsById request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetConversationsById.ResponseBody>
Gets a class of VK API response.setExtended
(boolean extended) setGroupId
(int groupId) setPeerIds
(Integer... peerIds) setPeerIds
(Iterable<Integer> peerIds) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetConversationsById
-
-
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<GetConversationsById.ResponseBody>
- Returns:
- a class of VK API response.
-
setPeerIds
-
setPeerIds
-
setExtended
-
setFields
-
setFields
-
setGroupId
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<GetConversationsById.ResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-