Class: Vk::API::Photos::Methods::Edit

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

Overview

Edits the caption of a photo.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):


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

Instance Method Details

#captionString

Returns New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.

Returns:

  • (String)

    New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.


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

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

#delete_placeBoolean


44
# File 'lib/vk/api/photos/methods/edit.rb', line 44

attribute :delete_place, API::Types::Form::Bool.optional.default(nil)

#foursquare_idString


42
# File 'lib/vk/api/photos/methods/edit.rb', line 42

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

#latitudeNumber


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

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

#longitudeNumber


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

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

#owner_idInteger

Returns ID of the user or community that owns the photo.

Returns:

  • (Integer)

    ID of the user or community that owns the photo.


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

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

#photo_idInteger

Returns Photo ID.

Returns:

  • (Integer)

    Photo ID.


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

attribute :photo_id, API::Types::Coercible::Int

#place_strString


40
# File 'lib/vk/api/photos/methods/edit.rb', line 40

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