Package com.vk.api.sdk.actions
Class Notifications
java.lang.Object
com.vk.api.sdk.client.AbstractAction
com.vk.api.sdk.actions.Notifications
public class Notifications extends AbstractAction
List of Notifications methods
-
Constructor Summary
Constructors Constructor Description Notifications(VkApiClient client)
Constructor -
Method Summary
Modifier and Type Method Description NotificationsGetQuery
get(UserActor actor)
Returns a list of notifications about other users' feedback to the current user's wall posts.NotificationsMarkAsViewedQuery
markAsViewed(UserActor actor)
Resets the counter of new notifications about other users' feedback to the current user's wall posts.NotificationsSendMessageQuery
sendMessage(ServiceActor actor, java.lang.String message, java.lang.Integer... userIds)
NotificationsSendMessageQuery
sendMessage(ServiceActor actor, java.lang.String message, java.util.List<java.lang.Integer> userIds)
Methods inherited from class com.vk.api.sdk.client.AbstractAction
getClient
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Notifications
Constructor- Parameters:
client
- vk api client
-
-
Method Details
-
get
Returns a list of notifications about other users' feedback to the current user's wall posts.- Parameters:
actor
- vk actor- Returns:
- query
-
markAsViewed
Resets the counter of new notifications about other users' feedback to the current user's wall posts.- Parameters:
actor
- vk actor- Returns:
- query
-
sendMessage
public NotificationsSendMessageQuery sendMessage(ServiceActor actor, java.lang.String message, java.lang.Integer... userIds)- Parameters:
actor
- vk actormessage
-userIds
-- Returns:
- query
-
sendMessage
public NotificationsSendMessageQuery sendMessage(ServiceActor actor, java.lang.String message, java.util.List<java.lang.Integer> userIds)- Parameters:
actor
- vk actormessage
-userIds
-- Returns:
- query
-