Class: Vk::API::Photos::Methods::SaveMarketPhoto

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

Overview

Saves market 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::SaveMarketPhoto

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 .

  • :crop_data (String)

    Parameter returned when photos are .

  • :crop_hash (String)

    Parameter returned when photos are .


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

Instance Method Details

#crop_dataString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .


36
# File 'lib/vk/api/photos/methods/save_market_photo.rb', line 36

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

#crop_hashString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .


38
# File 'lib/vk/api/photos/methods/save_market_photo.rb', line 38

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

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.


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

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

#hashString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .


34
# File 'lib/vk/api/photos/methods/save_market_photo.rb', line 34

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

#photoString

Returns Parameter returned when photos are .

Returns:

  • (String)

    Parameter returned when photos are .


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

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

#serverInteger

Returns Parameter returned when photos are .

Returns:

  • (Integer)

    Parameter returned when photos are .


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

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