Class SetChatPhoto
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<SetChatPhoto.ResponseBody>
api.longpoll.bots.methods.impl.messages.SetChatPhoto
Implements messages.setChatPhoto method.
Sets a previously-uploaded picture as the cover picture of a chat.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Response to messages.setChatPhoto request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<SetChatPhoto.ResponseBody>
Gets a class of VK API response.Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
SetChatPhoto
-
-
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<SetChatPhoto.ResponseBody>
- Returns:
- a class of VK API response.
-
setFile
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<SetChatPhoto.ResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-