Class: Vk::API::Photos::Methods::MakeCover
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::MakeCover
- Defined in:
- lib/vk/api/photos/methods/make_cover.rb
Overview
Makes a photo into an album cover.
Arguments collapse
-
#album_id ⇒ Integer
Album ID.
-
#owner_id ⇒ Integer
ID of the user or community that owns the photo.
-
#photo_id ⇒ Integer
Photo ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::MakeCover
|
# File 'lib/vk/api/photos/methods/make_cover.rb', line 15
|
Instance Method Details
#album_id ⇒ Integer
Returns Album ID.
29 |
# File 'lib/vk/api/photos/methods/make_cover.rb', line 29 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |