Sha256: 26fa3dd03adeea8882bb0f9fd7ed69e919fe21f8de4ba29b66b9f3282aa51dd9

Contents?: true

Size: 967 Bytes

Versions: 1

Compression:

Stored size: 967 Bytes

Contents

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

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Deletes a comment on the photo.
        class DeleteComment < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of the user or community that owns the photo.
          #   @option arguments [Integer] :comment_id Comment ID.
          #   @return [Photos::Methods::DeleteComment]

          # @!group Arguments

          # @return [Integer] ID of the user or community that owns the photo.
          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/photos/methods/delete_comment.rb