Class GetCallbackConfirmationCode
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetCallbackConfirmationCode.ResponseBody>
api.longpoll.bots.methods.impl.groups.GetCallbackConfirmationCode
Implements groups.getCallbackConfirmationCode method.
Returns Callback API confirmation code for the community.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Response to groups.getCallbackConfirmationCode request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetCallbackConfirmationCode.ResponseBody>
Gets a class of VK API response.setGroupId
(int groupId) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetCallbackConfirmationCode
-
-
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<GetCallbackConfirmationCode.ResponseBody>
- Returns:
- a class of VK API response.
-
setGroupId
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<GetCallbackConfirmationCode.ResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-