Class: Vk::API::Base::Likes

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/base/likes.rb

Overview

Instance Method Summary collapse

Instance Method Details

#countInteger

Returns Likes number.

Returns:

  • (Integer)

    Likes number


13
# File 'lib/vk/api/base/likes.rb', line 13

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

#user_likesAPI::Base::BoolInt

Returns Information whether current user likes the photo.

Returns:


11
# File 'lib/vk/api/base/likes.rb', line 11

attribute :user_likes, API::Base::BoolInt.optional.default(nil)