Sha256: 4912110cb4844a41e3458426f23355164d67330158e596ca35b92cadc68cbbac

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

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

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Returns an upload server address for a profile or community photo.
        class GetOwnerPhotoUploadServer < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id identifier of a community or current user.; ; "Note that community id must be negative.; 'owner_id=1' – user; 'owner_id=-1' – community; "
          #   @return [Photos::Methods::GetOwnerPhotoUploadServer]

          # @!group Arguments

          # @return [Integer] identifier of a community or current user.; ; "Note that community id must be negative.; 'owner_id=1' – user; 'owner_id=-1' – community; "
          attribute :owner_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_owner_photo_upload_server.rb