Class: Vk::API::Photos::Methods::CreateAlbum
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::CreateAlbum
- Defined in:
- lib/vk/api/photos/methods/create_album.rb
Overview
Creates an empty photo album.
Arguments collapse
- #comments_disabled ⇒ Boolean
-
#description ⇒ String
Album description.
-
#group_id ⇒ Integer
ID of the community in which the album will be created.
- #privacy_comment ⇒ Array
- #privacy_view ⇒ Array
-
#title ⇒ String
Album title.
- #upload_by_admins_only ⇒ Boolean
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::CreateAlbum
|
# File 'lib/vk/api/photos/methods/create_album.rb', line 15
|
Instance Method Details
#comments_disabled ⇒ Boolean
41 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 41 attribute :comments_disabled, API::Types::Form::Bool.optional.default(nil) |
#description ⇒ String
Returns Album description.
33 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 33 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#group_id ⇒ Integer
Returns ID of the community in which the album will be created.
31 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 31 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#privacy_comment ⇒ Array
37 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 37 attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([]) |
#privacy_view ⇒ Array
35 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 35 attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default([]) |
#title ⇒ String
Returns Album title.
29 |
# File 'lib/vk/api/photos/methods/create_album.rb', line 29 attribute :title, API::Types::Coercible::String |