@Immutable public final class AttachmentWallPhoto extends Object implements Attachment
Attachment with a photo uploaded
to the wall.| Constructor and Description |
|---|
AttachmentWallPhoto(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group,
UploadWallPhoto photo)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.vk.api.sdk.client.AbstractQueryBuilder> |
upload()
Uploads the Attachment(s).
|
public AttachmentWallPhoto(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group,
UploadWallPhoto photo)
client - VKAPIClient that is used for all VK API requests.actor - UserActor on behalf of which all requests will be sent.photo - File that contains a photo. Typically an album byteArray.group - Group ID.public List<com.vk.api.sdk.client.AbstractQueryBuilder> upload() throws Exception
Attachmentupload in interface AttachmentException - If query fails to be constructed.Copyright © 2017–2018 jcabi.com. All rights reserved.