Sha256: 644d1429f92d2848a5a956f6967201c23ca7ce95bbda8e6b681ec4931b2c95a5

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

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

module Vk
  module API
    class Video < Vk::Schema::Namespace
      module Methods
        # Edits the title of a video album.
        class EditAlbum < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'video.editAlbum'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id Community ID (if the album edited is owned by a community).
          #   @option arguments [Integer] :album_id Album ID.
          #   @option arguments [String] :title New album title.
          #   @option arguments [Array] :privacy new access permissions for the album.; Possible values: ; *'0' – all users;; *'1' – friends only;; *'2' – friends and friends of friends;; *'3' – "only me".
          #   @return [Video::Methods::EditAlbum]

          # @!group Arguments

          # @return [Integer] Community ID (if the album edited is owned by a community).
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] Album ID.
          attribute :album_id, API::Types::Coercible::Int.optional
          # @return [String] New album title.
          attribute :title, API::Types::Coercible::String.optional
          # @return [Array] new access permissions for the album.; Possible values: ; *'0' – all users;; *'1' – friends only;; *'2' – friends and friends of friends;; *'3' – "only me".
          attribute :privacy, API::Types::Coercible::Array.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/video/methods/edit_album.rb