Class GetViewers
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetViewers.ResponseBody>
api.longpoll.bots.methods.impl.stories.GetViewers
Implements messages.getById method.
Returns messages by their IDs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResponse to stories.getViewers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetViewers.ResponseBody>Gets a class of VK API response.setExtended(boolean extended) setGroupId(int groupId) setMessageIds(Integer... messageIds) setMessageIds(Iterable<Integer> messageIds) setPreviewLength(int previewLength) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetViewers
-
-
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<GetViewers.ResponseBody>- Returns:
- a class of VK API response.
-
setMessageIds
-
setMessageIds
-
setPreviewLength
-
setExtended
-
setFields
-
setFields
-
setGroupId
-
addParam
Description copied from class:VkMethodAdds URL parameter to HTTP request.- Overrides:
addParamin classVkMethod<GetViewers.ResponseBody>- Parameters:
key- URL parameter key.value- URL parameter value.- Returns:
- current instance.
-