Package com.vk.api.sdk.actions
Class Users
- java.lang.Object
-
- com.vk.api.sdk.client.AbstractAction
-
- com.vk.api.sdk.actions.Users
-
public class Users extends AbstractAction
List of Users methods
-
-
Constructor Summary
Constructors Constructor Description Users(VkApiClient client)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersGetQueryget(GroupActor actor)Returns detailed information on users.UsersGetQueryget(ServiceActor actor)Returns detailed information on users.UsersGetQueryget(UserActor actor)Returns detailed information on users.UsersGetFollowersQuerygetFollowers(ServiceActor actor)Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.UsersGetFollowersQuerygetFollowers(UserActor actor)Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.UsersGetFollowersQueryWithFieldsgetFollowersWithFields(ServiceActor actor, Fields... fields)Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.UsersGetFollowersQueryWithFieldsgetFollowersWithFields(UserActor actor, Fields... fields)Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.UsersGetSubscriptionsQuerygetSubscriptions(ServiceActor actor)Returns a list of IDs of users and communities followed by the user.UsersGetSubscriptionsQuerygetSubscriptions(UserActor actor)Returns a list of IDs of users and communities followed by the user.UsersGetSubscriptionsQueryWithExtendedgetSubscriptionsExtended(ServiceActor actor)Returns a list of IDs of users and communities followed by the user.UsersGetSubscriptionsQueryWithExtendedgetSubscriptionsExtended(UserActor actor)Returns a list of IDs of users and communities followed by the user.UsersReportQueryreport(UserActor actor, int userId, ReportType type)Reports (submits a complain about) a user.UsersSearchQuerysearch(UserActor actor)Returns a list of users matching the search criteria.-
Methods inherited from class com.vk.api.sdk.client.AbstractAction
getClient
-
-
-
-
Constructor Detail
-
Users
public Users(VkApiClient client)
Constructor- Parameters:
client- vk api client
-
-
Method Detail
-
get
public UsersGetQuery get(UserActor actor)
Returns detailed information on users.- Parameters:
actor- vk actor- Returns:
- query
-
get
public UsersGetQuery get(GroupActor actor)
Returns detailed information on users.- Parameters:
actor- vk actor- Returns:
- query
-
get
public UsersGetQuery get(ServiceActor actor)
Returns detailed information on users.- Parameters:
actor- vk actor- Returns:
- query
-
getFollowers
public UsersGetFollowersQuery getFollowers(UserActor actor)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.- Parameters:
actor- vk actor- Returns:
- query
-
getFollowers
public UsersGetFollowersQuery getFollowers(ServiceActor actor)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.- Parameters:
actor- vk actor- Returns:
- query
-
getFollowersWithFields
public UsersGetFollowersQueryWithFields getFollowersWithFields(UserActor actor, Fields... fields)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.- Parameters:
actor- vk actorfields- Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.- Returns:
- query
-
getFollowersWithFields
public UsersGetFollowersQueryWithFields getFollowersWithFields(ServiceActor actor, Fields... fields)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.- Parameters:
actor- vk actorfields- Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.- Returns:
- query
-
getSubscriptionsExtended
public UsersGetSubscriptionsQueryWithExtended getSubscriptionsExtended(UserActor actor)
Returns a list of IDs of users and communities followed by the user.- Parameters:
actor- vk actor- Returns:
- query
-
getSubscriptionsExtended
public UsersGetSubscriptionsQueryWithExtended getSubscriptionsExtended(ServiceActor actor)
Returns a list of IDs of users and communities followed by the user.- Parameters:
actor- vk actor- Returns:
- query
-
getSubscriptions
public UsersGetSubscriptionsQuery getSubscriptions(UserActor actor)
Returns a list of IDs of users and communities followed by the user.- Parameters:
actor- vk actor- Returns:
- query
-
getSubscriptions
public UsersGetSubscriptionsQuery getSubscriptions(ServiceActor actor)
Returns a list of IDs of users and communities followed by the user.- Parameters:
actor- vk actor- Returns:
- query
-
report
public UsersReportQuery report(UserActor actor, int userId, ReportType type)
Reports (submits a complain about) a user.- Parameters:
actor- vk actoruserId- ID of the user about whom a complaint is being made.type- Type of complaint: 'porn' - pornography, 'spam' - spamming, 'insult' - abusive behavior, 'advertisement' - disruptive advertisements- Returns:
- query
-
search
public UsersSearchQuery search(UserActor actor)
Returns a list of users matching the search criteria.- Parameters:
actor- vk actor- Returns:
- query
-
-