Class: Vk::API::Photos::Methods::Move
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::Move
- Defined in:
- lib/vk/api/photos/methods/move.rb
Overview
Moves a photo from one album to another.
Arguments collapse
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
-
#photo_id ⇒ Integer
Photo ID.
-
#target_album_id ⇒ Integer
ID of the album to which the photo will be moved.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Photos::Methods::Move constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#owner_id ⇒ Integer
Returns ID of the user or community that owns the photo.
25 |
# File 'lib/vk/api/photos/methods/move.rb', line 25 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |