
com.vk.api.sdk.actions.Gifts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.
The newest version!
package com.vk.api.sdk.actions;
import com.vk.api.sdk.client.AbstractAction;
import com.vk.api.sdk.client.VkApiClient;
import com.vk.api.sdk.client.actors.UserActor;
import com.vk.api.sdk.queries.gifts.GiftsGetQuery;
/**
* List of Gifts methods
*/
public class Gifts extends AbstractAction {
/**
* Constructor
*
* @param client vk api client
*/
public Gifts(VkApiClient client) {
super(client);
}
/**
* Returns a list of user gifts.
*
* @param actor vk actor
* @return query
*/
public GiftsGetQuery get(UserActor actor) {
return new GiftsGetQuery(getClient(), actor);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy