Class: Vk::API::Photos::Methods::ReorderPhotos
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::ReorderPhotos
- Defined in:
- lib/vk/api/photos/methods/reorder_photos.rb
Overview
Reorders the photo in the list of photos of the user album.
Arguments collapse
-
#after ⇒ Integer
ID of the photo after which the photo in question shall be placed.
-
#before ⇒ Integer
ID of the photo before which the photo in question shall be placed.
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
-
#photo_id ⇒ Integer
Photo ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::ReorderPhotos
|
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 15
|
Instance Method Details
#after ⇒ Integer
Returns ID of the photo after which the photo in question shall be placed.
32 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 32 attribute :after, API::Types::Coercible::Int.optional.default(nil) |
#before ⇒ Integer
Returns ID of the photo before which the photo in question shall be placed.
30 |
# File 'lib/vk/api/photos/methods/reorder_photos.rb', line 30 attribute :before, API::Types::Coercible::Int.optional.default(nil) |