@Immutable public final class AttachmentAudioWithProps extends Object implements Attachment
Properties and returns
AudioAddQuery for the uploaded
audios.| Constructor and Description |
|---|
AttachmentAudioWithProps(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
PropsFile properties,
int group,
UploadAudio... audios)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.vk.api.sdk.client.AbstractQueryBuilder> |
upload()
Uploads the Attachment(s).
|
public AttachmentAudioWithProps(com.vk.api.sdk.client.VkApiClient client,
com.vk.api.sdk.client.actors.UserActor actor,
PropsFile properties,
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.properties - Properties that contain the
AudioStatus of audios files.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.