Class: Vk::API::Photos::Methods::SaveWallPhoto
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::SaveWallPhoto
- Defined in:
- lib/vk/api/photos/methods/save_wall_photo.rb
Overview
Saves a photo to a user's or community's wall after being uploaded.
Arguments collapse
-
#group_id ⇒ Integer
ID of community on whose wall the photo will be saved.
- #hash ⇒ String
-
#photo ⇒ String
Parameter returned when the .
- #server ⇒ Integer
-
#user_id ⇒ Integer
ID of the user on whose wall the photo will be saved.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::SaveWallPhoto
|
# File 'lib/vk/api/photos/methods/save_wall_photo.rb', line 15
|
Instance Method Details
#group_id ⇒ Integer
Returns ID of community on whose wall the photo will be saved.
29 |
# File 'lib/vk/api/photos/methods/save_wall_photo.rb', line 29 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#hash ⇒ String
35 |
# File 'lib/vk/api/photos/methods/save_wall_photo.rb', line 35 attribute :hash, API::Types::Coercible::String.optional.default(nil) |
#photo ⇒ String
Returns Parameter returned when the .
31 |
# File 'lib/vk/api/photos/methods/save_wall_photo.rb', line 31 attribute :photo, API::Types::Coercible::String |