Sha256: 81dbe52b98546c30b91964a32b85077062b7586b90146388a6889bc583098fce

Contents?: true

Size: 1003 Bytes

Versions: 1

Compression:

Stored size: 1003 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Notes < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class NoteComment < Vk::Schema::Object
        # @return [Integer] Comment ID
        attribute :id, API::Types::Coercible::Int
        # @return [Integer] Comment author's ID
        attribute :uid, API::Types::Coercible::Int
        # @return [Integer] Note ID
        attribute :nid, API::Types::Coercible::Int
        # @return [Integer] Note ID
        attribute :oid, API::Types::Coercible::Int
        # @return [Integer] Date when the comment has beed added in Unixtime
        attribute :date, API::Types::Coercible::Int
        # @return [String] Comment text
        attribute :message, API::Types::Coercible::String
        # @return [Integer] ID of replied comment
        attribute :reply_to, API::Types::Coercible::Int.optional
      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/note_comment.rb