Class: Vk::API::Base::LikesInfo

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

Overview

Instance Method Summary collapse

Instance Method Details

#can_likeInteger

Returns Information whether current user can like the post.

Returns:

  • (Integer)

    Information whether current user can like the post



15
# File 'lib/vk/api/base/likes_info.rb', line 15

attribute :can_like, API::Types::Coercible::Int

#can_publishInteger

Returns Information whether current user can repost.

Returns:

  • (Integer)

    Information whether current user can repost



17
# File 'lib/vk/api/base/likes_info.rb', line 17

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

#countInteger

Returns Likes number.

Returns:

  • (Integer)

    Likes number



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

attribute :count, API::Types::Coercible::Int

#user_likesInteger

Returns Information whether current uer has liked the post.

Returns:

  • (Integer)

    Information whether current uer has liked the post



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

attribute :user_likes, API::Types::Coercible::Int