Class: Vk::API::Video::Methods::EditAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::EditAlbum
- Defined in:
- lib/vk/api/video/methods/edit_album.rb
Overview
Edits the title of a video album.
Arguments collapse
-
#album_id ⇒ Integer
Album ID.
-
#group_id ⇒ Integer
Community ID (if the album edited is owned by a community).
-
#privacy ⇒ Array
New access permissions for the album.; Possible values: ; *'0' – all users;; *'1' – friends only;; *'2' – friends and friends of friends;; *'3' – "only me".
-
#title ⇒ String
New album title.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Video::Methods::EditAlbum
|
# File 'lib/vk/api/video/methods/edit_album.rb', line 15
|
Instance Method Details
#album_id ⇒ Integer
Returns Album ID.
28 |
# File 'lib/vk/api/video/methods/edit_album.rb', line 28 attribute :album_id, API::Types::Coercible::Int |
#group_id ⇒ Integer
Returns Community ID (if the album edited is owned by a community).
26 |
# File 'lib/vk/api/video/methods/edit_album.rb', line 26 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#privacy ⇒ Array
Returns new access permissions for the album.; Possible values: ; *'0' – all users;; *'1' – friends only;; *'2' – friends and friends of friends;; *'3' – "only me".
32 |
# File 'lib/vk/api/video/methods/edit_album.rb', line 32 attribute :privacy, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |