Sha256: e4b4a66b22535db699c316ffd6fad457830acedd74f49ae48202f269c3f69078
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Photos < Vk::Schema::Namespace module Methods # Moves a photo from one album to another. class Move < Schema::Method # @!group Properties self.open = false self.method = 'photos.move' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Integer] :owner_id ID of the user or community that owns the photo. # @option arguments [Integer] :target_album_id ID of the album to which the photo will be moved. # @option arguments [Integer] :photo_id Photo ID. # @return [Photos::Methods::Move] # @!group Arguments # @return [Integer] ID of the user or community that owns the photo. attribute :owner_id, API::Types::Coercible::Int.optional # @return [Integer] ID of the album to which the photo will be moved. attribute :target_album_id, API::Types::Coercible::Int.optional # @return [Integer] Photo ID. attribute :photo_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/move.rb |