Class: Vk::API::Newsfeed::ItemPhoto
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Newsfeed::ItemPhoto
- Defined in:
- lib/vk/api/newsfeed/item_photo.rb
Overview
Instance Method Summary collapse
- #photos ⇒ Object
-
#post_id ⇒ Integer
Post ID.
Instance Method Details
#photos ⇒ Object
11 |
# File 'lib/vk/api/newsfeed/item_photo.rb', line 11 attribute :photos, API::Types::Coercible::Hash.optional.default(nil) |
#post_id ⇒ Integer
Returns Post ID.
13 |
# File 'lib/vk/api/newsfeed/item_photo.rb', line 13 attribute :post_id, API::Types::Coercible::Int.optional.default(nil) |