Sha256: c8658721b41d003529261815f95572a55eed63143eff59c343551e228d0b43bb

Contents?: true

Size: 1007 Bytes

Versions: 1

Compression:

Stored size: 1007 Bytes

Contents

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

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Restores a deleted comment on a photo.
        class RestoreComment < Schema::Method
          # @!group Properties

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

          # @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 ID of the deleted comment.
          #   @return [Photos::Methods::RestoreComment]

          # @!group Arguments

          # @return [Integer] ID of the user or community that owns the photo.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the deleted comment.
          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/restore_comment.rb