Class GetLongPollSettings
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetLongPollSettings.ResponseBody>
api.longpoll.bots.methods.impl.groups.GetLongPollSettings
Implements groups.getLongPollSettings method.
Returns Bots Long Poll API settings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResponse to groups.getLongPollSettings request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetLongPollSettings.ResponseBody>Gets a class of VK API response.setGroupId(Integer groupId) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetLongPollSettings
-
-
Method Details
-
getResponseClass
Description copied from class:VkMethodGets a class of VK API response. This value is used during deserialization of received JSON.- Specified by:
getResponseClassin classVkMethod<GetLongPollSettings.ResponseBody>- Returns:
- a class of VK API response.
-
setGroupId
-
addParam
Description copied from class:VkMethodAdds URL parameter to HTTP request.- Overrides:
addParamin classVkMethod<GetLongPollSettings.ResponseBody>- Parameters:
key- URL parameter key.value- URL parameter value.- Returns:
- current instance.
-