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