Class: Vk::API::Wall::PostedPhoto

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/wall/posted_photo.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Photo ID.

Returns:

  • (Integer)

    Photo ID



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

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

#owner_idInteger

Returns Photo owner's ID.

Returns:

  • (Integer)

    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)

#photo_130String

Returns URL of the preview image with 130 px in width.

Returns:

  • (String)

    URL of the preview image with 130 px in width



15
# File 'lib/vk/api/wall/posted_photo.rb', line 15

attribute :photo_130, API::Types::Coercible::String.optional.default(nil)

#photo_604String

Returns URL of the preview image with 604 px in width.

Returns:

  • (String)

    URL of the preview image with 604 px in width



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

attribute :photo_604, API::Types::Coercible::String.optional.default(nil)