public class MessagesSetChatPhotoQuery extends AbstractQueryBuilder<MessagesSetChatPhotoQuery,SetChatPhotoResponse>
Constructor and Description |
---|
MessagesSetChatPhotoQuery(VkApiClient client,
UserActor actor,
java.lang.String file)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected MessagesSetChatPhotoQuery |
file(java.lang.String value)
Upload URL from the "response" field returned by the photos.getChatUploadServer method upon successfully uploading an image.
|
protected MessagesSetChatPhotoQuery |
getThis()
Get reference to this object
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, lang, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
execute, executeAsRaw, executeAsString, getClient, getGson, getResponseClass, getUrl
public MessagesSetChatPhotoQuery(VkApiClient client, UserActor actor, java.lang.String file)
client
- VK API clientactor
- actor with access tokenfile
- value of "file" parameter.protected MessagesSetChatPhotoQuery file(java.lang.String value)
value
- value of "file" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected MessagesSetChatPhotoQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<MessagesSetChatPhotoQuery,SetChatPhotoResponse>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<MessagesSetChatPhotoQuery,SetChatPhotoResponse>