Sha256: cd0aea24bc9a3c7f8164f33dba80611c0aa59d65cbda70ad45251b57fa7570f0

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Video < Vk::Schema::Namespace
      module Methods
        # Adds a tag on a video.
        class PutTag < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'video.putTag'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id ID of the user to be tagged.
          #   @option arguments [Integer] :owner_id ID of the user or community that owns the video.
          #   @option arguments [Integer] :video_id Video ID.
          #   @option arguments [String] :tagged_name Tag text.
          #   @return [Video::Methods::PutTag]

          # @!group Arguments

          # @return [Integer] ID of the user to be tagged.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the user or community that owns the video.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Video ID.
          attribute :video_id, API::Types::Coercible::Int.optional
          # @return [String] Tag text.
          attribute :tagged_name, API::Types::Coercible::String.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/video/methods/put_tag.rb