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

#dateInteger

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

#idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID



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

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

#messageString

Returns Comment text.

Returns:

  • (String)

    Comment text



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

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

#nidInteger

Returns Note ID.

Returns:

  • (Integer)

    Note ID



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

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

#oidInteger

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_toInteger

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)

#uidInteger

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