Class: Vk::API::Newsfeed::ItemTopic

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/newsfeed/item_topic.rb

Overview

Instance Method Summary collapse

Instance Method Details

#commentsAPI::Base::CommentsInfo


15
# File 'lib/vk/api/newsfeed/item_topic.rb', line 15

attribute :comments, Dry::Types[API::Base::CommentsInfo].optional.default(nil)

#likesAPI::Base::LikesInfo


17
# File 'lib/vk/api/newsfeed/item_topic.rb', line 17

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

#post_idInteger

Returns Topic post ID.

Returns:

  • (Integer)

    Topic post ID


11
# File 'lib/vk/api/newsfeed/item_topic.rb', line 11

attribute :post_id, API::Types::Coercible::Int

#textString

Returns Post text.

Returns:

  • (String)

    Post text


13
# File 'lib/vk/api/newsfeed/item_topic.rb', line 13

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