@Immutable public final class AttachmentAudio extends Object implements Attachment
AudioAddQuery for the uploaded
audios.| Constructor and Description |
|---|
AttachmentAudio(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group,
UploadAudio... audios)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.vk.api.sdk.client.AbstractQueryBuilder> |
upload()
Uploads the Attachment(s).
|
public AttachmentAudio(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
int group,
UploadAudio... audios)
client - The VkApiClient
that is used for all VK API requests.actor - UserActor on behalf of which all requests will be sent.audios - Audios files.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.