Sha256: b08ed06d9264812997868634d2cc741d3ddda6f912907004f87a6ccb1569c746

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

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

module Vk
  module API
    class Notes < Vk::Schema::Namespace
      module Methods
        # Returns a list of comments on a note.
        class GetComments < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'notes.getComments'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :note_id Note ID.
          #   @option arguments [Integer] :owner_id Note owner ID.
          #   @option arguments [Integer] :count Number of comments to return.
          #   @return [Notes::Methods::GetComments]

          # @!group Arguments

          # @return [Integer] Note ID.
          attribute :note_id, API::Types::Coercible::Int.optional
          # @return [Integer] Note owner ID.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Number of comments to return.
          attribute :count, 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/notes/methods/get_comments.rb