Class: Vk::API::Board::TopicComment

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/board/topic_comment.rb

Overview

Instance Method Summary collapse

Instance Method Details

#attachments ⇒ Array



19
# File 'lib/vk/api/board/topic_comment.rb', line 19

attribute :attachments, API::Types::Coercible::Array.member(API::Wall::CommentAttachment).optional.default(nil)

#date ⇒ Integer

Returns Date when the comment has been added in Unixtime.

Returns:

  • (Integer) —

    Date when the comment has been added in Unixtime



15
# File 'lib/vk/api/board/topic_comment.rb', line 15

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

#from_id ⇒ Integer

Returns Author ID.

Returns:

  • (Integer) —

    Author ID



13
# File 'lib/vk/api/board/topic_comment.rb', line 13

attribute :from_id, API::Types::Coercible::Int

#id ⇒ Integer

Returns Comment ID.

Returns:

  • (Integer) —

    Comment ID



11
# File 'lib/vk/api/board/topic_comment.rb', line 11

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

#real_offset ⇒ Integer

Returns Real position of the comment.

Returns:

  • (Integer) —

    Real position of the comment



21
# File 'lib/vk/api/board/topic_comment.rb', line 21

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

#text ⇒ String

Returns Comment text.

Returns:

  • (String) —

    Comment text



17
# File 'lib/vk/api/board/topic_comment.rb', line 17

attribute :text, API::Types::Coercible::String