Class: Vk::API::Wall::PostedPhoto
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::PostedPhoto
- Defined in:
- lib/vk/api/wall/posted_photo.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Photo ID.
-
#owner_id ⇒ Integer
Photo owner's ID.
-
#photo_130 ⇒ String
URL of the preview image with 130 px in width.
-
#photo_604 ⇒ String
URL of the preview image with 604 px in width.
Instance Method Details
#id ⇒ Integer
Returns Photo ID.
11 |
# File 'lib/vk/api/wall/posted_photo.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Photo owner's ID.
13 |
# File 'lib/vk/api/wall/posted_photo.rb', line 13 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |