@Immutable public final class AttachmentWallDocument extends Object implements Attachment
| Constructor and Description |
|---|
AttachmentWallDocument(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
UploadWallDocument doc)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.vk.api.sdk.client.AbstractQueryBuilder> |
upload()
Uploads the Attachment(s).
|
public AttachmentWallDocument(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
UploadWallDocument doc)
client - VKAPIClient that is used for all VK API requests.actor - UserActor on behalf of which all requests will be sent.doc - File that contains a doc. Typically an album byteArray.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.