Class: Vk::API::Photos::Methods::SaveMarketAlbumPhoto

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/photos/methods/save_market_album_photo.rb

Overview

Saves market album photos after successful uploading.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :photo (String)

    Parameter returned when photos are .

  • :server (Integer)

    Parameter returned when photos are .

  • :hash (String)

    Parameter returned when photos are .



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

Instance Method Details

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



26
# File 'lib/vk/api/photos/methods/save_market_album_photo.rb', line 26

attribute :group_id, API::Types::Coercible::Int

#hashString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .



32
# File 'lib/vk/api/photos/methods/save_market_album_photo.rb', line 32

attribute :hash, API::Types::Coercible::String

#photoString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .



28
# File 'lib/vk/api/photos/methods/save_market_album_photo.rb', line 28

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

#serverInteger

Returns Parameter returned when photos are .

Returns:

  • (Integer)

    Parameter returned when photos are .



30
# File 'lib/vk/api/photos/methods/save_market_album_photo.rb', line 30

attribute :server, API::Types::Coercible::Int