Class: Vk::API::Photos::PhotoUpload

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/photos/photo_upload.rb

Overview

Instance Method Summary collapse

Instance Method Details

#album_id ⇒ Integer

Returns Album ID.

Returns:

  • (Integer) —

    Album ID



13
# File 'lib/vk/api/photos/photo_upload.rb', line 13

attribute :album_id, API::Types::Coercible::Int

#upload_url ⇒ String

Returns URL to upload photo.

Returns:

  • (String) —

    URL to upload photo



11
# File 'lib/vk/api/photos/photo_upload.rb', line 11

attribute :upload_url, API::Types::Coercible::String

#user_id ⇒ Integer

Returns User ID.

Returns:

  • (Integer) —

    User ID



15
# File 'lib/vk/api/photos/photo_upload.rb', line 15

attribute :user_id, API::Types::Coercible::Int