Sha256: c847e281be0a1a801dbe355b62b3f692f7cd09d91fa3b384effd5a06442491c6

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

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

module Vk
  module API
    class Market < Vk::Schema::Namespace
      module Methods
        # Deletes an item's comment
        class DeleteComment < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'market.deleteComment'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id identifier of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
          #   @option arguments [Integer] :comment_id comment id
          #   @return [Market::Methods::DeleteComment]

          # @!group Arguments

          # @return [Integer] identifier of an item owner community; "Note that community id in the 'owner_id' parameter should be negative number. For example 'owner_id'=-1 matches the [vk.com/apiclub|VK API] community "
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] comment id
          attribute :comment_id, API::Types::Coercible::Int.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/market/methods/delete_comment.rb