Class CreateChat
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<IntegerResponseBody>
api.longpoll.bots.methods.impl.messages.CreateChat
Implements messages.createChat method.
Creates a chat with several participants.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<IntegerResponseBody>
Gets a class of VK API response.setGroupId
(int groupId) setUserIds
(Integer... userIds) setUserIds
(Iterable<Integer> userIds) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
CreateChat
-
-
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<IntegerResponseBody>
- Returns:
- a class of VK API response.
-
setUserIds
-
setUserIds
-
setTitle
-
setGroupId
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<IntegerResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-