Class: Vk::API::Photos::Methods::SaveMessagesPhoto
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::SaveMessagesPhoto
- Defined in:
- lib/vk/api/photos/methods/save_messages_photo.rb
Overview
Saves a photo after being successfully uploaded. URL obtained with method.
Arguments collapse
- #hash ⇒ String
-
#photo ⇒ String
Parameter returned when .
- #server ⇒ Integer
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::SaveMessagesPhoto
|
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 15
|
Instance Method Details
#hash ⇒ String
29 |
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 29 attribute :hash, API::Types::Coercible::String.optional.default(nil) |
#photo ⇒ String
Returns Parameter returned when .
25 |
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 25 attribute :photo, API::Types::Coercible::String |