Class StoriesGetPhotoUploadServerQuery

    • Constructor Detail

      • StoriesGetPhotoUploadServerQuery

        public StoriesGetPhotoUploadServerQuery​(VkApiClient client,
                                                UserActor actor)
        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
      • StoriesGetPhotoUploadServerQuery

        public StoriesGetPhotoUploadServerQuery​(VkApiClient client,
                                                GroupActor actor)
        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
    • Method Detail

      • addToNews

        public StoriesGetPhotoUploadServerQuery addToNews​(java.lang.Boolean value)
        1 — to add the story to friend's feed.
        Parameters:
        value - value of "add to news" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • replyToStory

        public StoriesGetPhotoUploadServerQuery replyToStory​(java.lang.String value)
        ID of the story to reply with the current.
        Parameters:
        value - value of "reply to story" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkText

        public StoriesGetPhotoUploadServerQuery linkText​(UploadLinkText value)
        Link text (for community's stories only).
        Parameters:
        value - value of "link text" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • linkUrl

        public StoriesGetPhotoUploadServerQuery linkUrl​(java.lang.String value)
        Link URL. Internal links on https://vk.com only.
        Parameters:
        value - value of "link url" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • groupId

        public StoriesGetPhotoUploadServerQuery groupId​(java.lang.Integer value)
        ID of the community to upload the story (should be verified or with the "fire" icon).
        Parameters:
        value - value of "group id" parameter. Minimum is 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • clickableStickers

        public StoriesGetPhotoUploadServerQuery clickableStickers​(java.lang.String value)
        Set clickable stickers
        Parameters:
        value - value of "clickable stickers" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

        public StoriesGetPhotoUploadServerQuery userIds​(java.lang.Integer... value)
        user_ids List of users IDs who can see the story.
        Parameters:
        value - value of "user ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • userIds

        public StoriesGetPhotoUploadServerQuery userIds​(java.util.List<java.lang.Integer> value)
        List of users IDs who can see the story.
        Parameters:
        value - value of "user ids" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.