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

#attachmentsArray



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

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

#dateInteger

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_idInteger

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

#idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID



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

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

#likesAPI::Base::LikesInfo



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

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

#real_offsetInteger

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_commentInteger

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_userInteger

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)

#textString

Returns Comment text.

Returns:

  • (String)

    Comment text



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

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