Method: Vk::API::Photos::Methods::PutTag#initialize

Defined in:
lib/vk/api/photos/methods/put_tag.rb

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of the user or community that owns the photo.

  • :photo_id (Integer)

    Photo ID.

  • :user_id (Integer)

    ID of the user to be tagged.

  • :x (Number)

    Upper left-corner coordinate of the tagged area (as a percentage of the photo's width).

  • :y (Number)

    Upper left-corner coordinate of the tagged area (as a percentage of the photo's height).

  • :x2 (Number)

    Lower right-corner coordinate of the tagged area (as a percentage of the photo's width).

  • :y2 (Number)

    Lower right-corner coordinate of the tagged area (as a percentage of the photo's height).



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