public class NotificationsSendMessageQuery extends AbstractQueryBuilder<NotificationsSendMessageQuery,java.util.List<SendMessageResponse>>
| Constructor and Description |
|---|
NotificationsSendMessageQuery(VkApiClient client,
ServiceActor actor)
Creates a AbstractQueryBuilder instance that can be used to build service api request with various parameters
|
NotificationsSendMessageQuery(VkApiClient client,
ServiceActor actor,
java.lang.String message,
java.util.List<java.lang.Long> userIds)
Creates a AbstractQueryBuilder instance that can be used to build service api request with various parameters
|
NotificationsSendMessageQuery(VkApiClient client,
ServiceActor actor,
java.lang.String message,
java.lang.Long... userIds)
Creates a AbstractQueryBuilder instance that can be used to build service api request with various parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
NotificationsSendMessageQuery |
fragment(java.lang.String value)
Set fragment
|
protected NotificationsSendMessageQuery |
getThis()
Get reference to this object
|
NotificationsSendMessageQuery |
groupId(java.lang.Long value)
Set group id
|
NotificationsSendMessageQuery |
message(java.lang.String value)
Set message
|
NotificationsSendMessageQuery |
randomId(java.lang.Integer value)
Set random id
|
NotificationsSendMessageQuery |
sendingMode(SendMessageSendingMode value)
Type of sending (delivering) notifications: 'immediately' - push and bell notifications will be delivered as soon as possible, 'delayed' - push and bell notifications will be delivered in the most comfortable time for the user, 'delayed_push' - only push notifications will be delivered in the most comfortable time, while the bell notifications will be delivered as soon as possible
|
NotificationsSendMessageQuery |
userIds(java.util.List<java.lang.Long> value)
Set user ids
|
NotificationsSendMessageQuery |
userIds(java.lang.Long... value)
userIds
Set user ids
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, getQueryHeaders, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version, withHeader, withHeadersaddHeader, addHeaders, execute, executeAsRaw, executeAsString, executeAsStringWithReturningFullInfo, executeTypeable, executeTypeableWithoutRetry, executeWithoutRetry, getClient, getCookie, getGson, getHeaders, getResponseClass, getUrl, setCookie, setCookies, setHeaders, setHeaderspublic NotificationsSendMessageQuery(VkApiClient client, ServiceActor actor, java.lang.String message, java.lang.Long... userIds)
client - VK API clientactor - actor with access tokenmessage - value of "message" parameter.userIds - value of "user ids" parameter.public NotificationsSendMessageQuery(VkApiClient client, ServiceActor actor, java.lang.String message, java.util.List<java.lang.Long> userIds)
client - VK API clientactor - actor with access tokenmessage - value of "message" parameter.userIds - value of "user ids" parameter.public NotificationsSendMessageQuery(VkApiClient client, ServiceActor actor)
client - VK API clientactor - actor with access tokenpublic NotificationsSendMessageQuery message(java.lang.String value)
value - value of "message" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery fragment(java.lang.String value)
value - value of "fragment" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery groupId(java.lang.Long value)
value - value of "group id" parameter. Minimum is 0. Entity - ownerAbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery randomId(java.lang.Integer value)
value - value of "random id" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery sendingMode(SendMessageSendingMode value)
value - value of "sending mode" parameter. By default immediately.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery userIds(java.lang.Long... value)
value - value of "user ids" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.public NotificationsSendMessageQuery userIds(java.util.List<java.lang.Long> value)
value - value of "user ids" parameter.AbstractQueryBuilder object to fulfill the "Builder" pattern.protected NotificationsSendMessageQuery getThis()
AbstractQueryBuildergetThis in class AbstractQueryBuilder<NotificationsSendMessageQuery,java.util.List<SendMessageResponse>>AbstractQueryBuilder object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilderessentialKeys in class AbstractQueryBuilder<NotificationsSendMessageQuery,java.util.List<SendMessageResponse>>