Sha256: 606276a6a2995fdb54177b89cd97863d5e3ce705bec645b2cc868b7e2f21e3ff

Contents?: true

Size: 858 Bytes

Versions: 1

Compression:

Stored size: 858 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Returns the server address for photo upload onto a user's wall.
        class GetWallUploadServer < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'photos.getWallUploadServer'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID of community to whose wall the photo will be uploaded.
          #   @return [Photos::Methods::GetWallUploadServer]

          # @!group Arguments

          # @return [Integer] ID of community to whose wall the photo will be uploaded.
          attribute :group_id, API::Types::Coercible::Int.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/photos/methods/get_wall_upload_server.rb