Class: Vk::API::Notes::NoteComment

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/notes/note_comment.rb

Overview

Instance Method Summary collapse

Instance Method Details

#date ⇒ Integer

Returns Date when the comment has beed added in Unixtime.

Returns:

  • (Integer) —

    Date when the comment has beed added in Unixtime



19
# File 'lib/vk/api/notes/note_comment.rb', line 19

attribute :date, API::Types::Coercible::Int

#id ⇒ Integer

Returns Comment ID.

Returns:

  • (Integer) —

    Comment ID



11
# File 'lib/vk/api/notes/note_comment.rb', line 11

attribute :id, API::Types::Coercible::Int

#message ⇒ String

Returns Comment text.

Returns:

  • (String) —

    Comment text



21
# File 'lib/vk/api/notes/note_comment.rb', line 21

attribute :message, API::Types::Coercible::String

#nid ⇒ Integer

Returns Note ID.

Returns:

  • (Integer) —

    Note ID



15
# File 'lib/vk/api/notes/note_comment.rb', line 15

attribute :nid, API::Types::Coercible::Int

#oid ⇒ Integer

Returns Note ID.

Returns:

  • (Integer) —

    Note ID



17
# File 'lib/vk/api/notes/note_comment.rb', line 17

attribute :oid, API::Types::Coercible::Int

#reply_to ⇒ Integer

Returns ID of replied comment.

Returns:

  • (Integer) —

    ID of replied comment



23
# File 'lib/vk/api/notes/note_comment.rb', line 23

attribute :reply_to, API::Types::Coercible::Int.optional.default(nil)

#uid ⇒ Integer

Returns Comment author's ID.

Returns:

  • (Integer) —

    Comment author's ID



13
# File 'lib/vk/api/notes/note_comment.rb', line 13

attribute :uid, API::Types::Coercible::Int