Class GetInviteLink
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetInviteLink.ResponseBody>
api.longpoll.bots.methods.impl.messages.GetInviteLink
Implements messages.getInviteLink method.
Receives a link to invite a user to the chat.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResponse to messages.getInviteLink request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetInviteLink.ResponseBody>Gets a class of VK API response.setGroupId(int groupId) setPeerId(int peerId) setReset(boolean reset) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetInviteLink
-
-
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<GetInviteLink.ResponseBody>- Returns:
- a class of VK API response.
-
setPeerId
-
setReset
-
setGroupId
-
addParam
Description copied from class:VkMethodAdds URL parameter to HTTP request.- Overrides:
addParamin classVkMethod<GetInviteLink.ResponseBody>- Parameters:
key- URL parameter key.value- URL parameter value.- Returns:
- current instance.
-