Class: Vk::API::Video::Methods::PutTag

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/video/methods/put_tag.rb

Overview

Adds a tag on a video.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :user_id (Integer)

    ID of the user to be tagged.

  • :owner_id (Integer)

    ID of the user or community that owns the video.

  • :video_id (Integer)

    Video ID.

  • :tagged_name (String)

    Tag text.



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

Instance Method Details

#owner_idInteger

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

Returns:

  • (Integer)

    ID of the user or community that owns the video.



28
# File 'lib/vk/api/video/methods/put_tag.rb', line 28

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

#tagged_nameString

Returns Tag text.

Returns:

  • (String)

    Tag text.



32
# File 'lib/vk/api/video/methods/put_tag.rb', line 32

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

#user_idInteger

Returns ID of the user to be tagged.

Returns:

  • (Integer)

    ID of the user to be tagged.



26
# File 'lib/vk/api/video/methods/put_tag.rb', line 26

attribute :user_id, API::Types::Coercible::Int

#video_idInteger

Returns Video ID.

Returns:

  • (Integer)

    Video ID.



30
# File 'lib/vk/api/video/methods/put_tag.rb', line 30

attribute :video_id, API::Types::Coercible::Int