Class SecureSendNotificationQuery

    • Constructor Detail

      • SecureSendNotificationQuery

        public SecureSendNotificationQuery​(VkApiClient client,
                                           ServiceActor actor,
                                           java.lang.String message)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
        message - value of "message" parameter.
    • Method Detail

      • userId

        public SecureSendNotificationQuery userId​(java.lang.Integer value)
        Set user id
        Parameters:
        value - value of "user id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • message

        protected SecureSendNotificationQuery message​(java.lang.String value)
        Notification text which should be sent in 'UTF-8' encoding ('254' characters maximum).
        Parameters:
        value - value of "message" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

        public SecureSendNotificationQuery userIds​(java.lang.Integer... value)
        user_ids Set user ids
        Parameters:
        value - value of "user ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

        public SecureSendNotificationQuery userIds​(java.util.List<java.lang.Integer> value)
        Set user ids
        Parameters:
        value - value of "user ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.