public class Users extends AbstractAction
| Constructor and Description |
|---|
Users(VkApiClient client)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
UsersGetQuery |
get(GroupActor actor)
Returns detailed information on users.
|
UsersGetQuery |
get(ServiceActor actor)
Returns detailed information on users.
|
UsersGetQuery |
get(UserActor actor)
Returns detailed information on users.
|
UsersGetFollowersQuery |
getFollowers(ServiceActor actor)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.
|
UsersGetFollowersQuery |
getFollowers(UserActor actor)
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.
|
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.
|
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.
|
UsersGetSubscriptionsQuery |
getSubscriptions(ServiceActor actor)
Returns a list of IDs of users and communities followed by the user.
|
UsersGetSubscriptionsQuery |
getSubscriptions(UserActor actor)
Returns a list of IDs of users and communities followed by the user.
|
UsersGetSubscriptionsQueryWithExtended |
getSubscriptionsExtended(ServiceActor actor)
Returns a list of IDs of users and communities followed by the user.
|
UsersGetSubscriptionsQueryWithExtended |
getSubscriptionsExtended(UserActor actor)
Returns a list of IDs of users and communities followed by the user.
|
UsersReportQuery |
report(UserActor actor)
Reports (submits a complain about) a user.
|
UsersReportQuery |
report(UserActor actor,
java.lang.Long userId,
ReportType type)
Reports (submits a complain about) a user.
|
UsersSearchQuery |
search(UserActor actor)
Returns a list of users matching the search criteria.
|
getClientpublic Users(VkApiClient client)
client - vk api clientpublic UsersGetQuery get(UserActor actor)
actor - vk user actorpublic UsersGetQuery get(GroupActor actor)
actor - vk group actorpublic UsersGetQuery get(ServiceActor actor)
actor - vk service actorpublic UsersGetFollowersQuery getFollowers(UserActor actor)
actor - vk user actorpublic UsersGetFollowersQuery getFollowers(ServiceActor actor)
actor - vk service actorpublic UsersGetFollowersQueryWithFields getFollowersWithFields(UserActor actor, Fields... fields)
actor - vk user 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'.public UsersGetFollowersQueryWithFields getFollowersWithFields(ServiceActor actor, Fields... fields)
actor - vk service 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'.public UsersGetSubscriptionsQueryWithExtended getSubscriptionsExtended(UserActor actor)
actor - vk user actorpublic UsersGetSubscriptionsQueryWithExtended getSubscriptionsExtended(ServiceActor actor)
actor - vk service actorpublic UsersGetSubscriptionsQuery getSubscriptions(UserActor actor)
actor - vk user actorpublic UsersGetSubscriptionsQuery getSubscriptions(ServiceActor actor)
actor - vk service actorpublic UsersReportQuery report(UserActor actor, java.lang.Long userId, ReportType type)
actor - vk user 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 advertisementspublic UsersReportQuery report(UserActor actor)
actor - vk user actorpublic UsersSearchQuery search(UserActor actor)
actor - vk user actor