Class: Vk::API::Photos::Methods::SaveMessagesPhoto

Inherits:
Schema::Method
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Photos::Methods::SaveMessagesPhoto

Parameters:

  • arguments (Hash)

Options Hash (arguments):


# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 15

Instance Method Details

#hashString


29
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 29

attribute :hash, API::Types::Coercible::String.optional.default(nil)

#photoString

Returns Parameter returned when .

Returns:

  • (String)

    Parameter returned when .


25
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 25

attribute :photo, API::Types::Coercible::String

#serverInteger


27
# File 'lib/vk/api/photos/methods/save_messages_photo.rb', line 27

attribute :server, API::Types::Coercible::Int.optional.default(nil)