Class: Vk::API::Video::Methods::AddAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::AddAlbum
- Defined in:
- lib/vk/api/video/methods/add_album.rb
Overview
Creates an empty album for videos.
Arguments collapse
-
#group_id ⇒ Integer
Community ID (if the album will be created in 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
Album title.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Video::Methods::AddAlbum
|
# File 'lib/vk/api/video/methods/add_album.rb', line 15
|
Instance Method Details
#group_id ⇒ Integer
Returns Community ID (if the album will be created in a community).
25 |
# File 'lib/vk/api/video/methods/add_album.rb', line 25 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".
29 |
# File 'lib/vk/api/video/methods/add_album.rb', line 29 attribute :privacy, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |