Class: Vk::API::Newsfeed::ItemPhoto

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

Overview

Instance Method Summary collapse

Instance Method Details

#photosObject



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

attribute :photos, API::Types::Coercible::Hash.optional.default(nil)

#post_idInteger

Returns Post ID.

Returns:

  • (Integer)

    Post ID



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

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