Class: Vk::API::Wall::WallComment

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/wall/wall_comment.rb

Overview

Instance Method Summary collapse

Instance Method Details

#attachments ⇒ Array



25
# File 'lib/vk/api/wall/wall_comment.rb', line 25

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/wall/wall_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/wall/wall_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/wall/wall_comment.rb', line 11

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

#likes ⇒ API::Base::LikesInfo



19
# File 'lib/vk/api/wall/wall_comment.rb', line 19

attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil)

#real_offset ⇒ Integer

Returns Real position of the comment.

Returns:

  • (Integer) —

    Real position of the comment



27
# File 'lib/vk/api/wall/wall_comment.rb', line 27

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

#reply_to_comment ⇒ Integer

Returns Replied comment ID.

Returns:

  • (Integer) —

    Replied comment ID



23
# File 'lib/vk/api/wall/wall_comment.rb', line 23

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

#reply_to_user ⇒ Integer

Returns Replied user ID.

Returns:

  • (Integer) —

    Replied user ID



21
# File 'lib/vk/api/wall/wall_comment.rb', line 21

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

#text ⇒ String

Returns Comment text.

Returns:

  • (String) —

    Comment text



17
# File 'lib/vk/api/wall/wall_comment.rb', line 17

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