Sha256: b0f0942fb6acd318a98db5046bb21b8f6e9dd4afea56c100d36a3a553fa897fc

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Base < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class LikesInfo < Vk::Schema::Object
        # @return [Integer] Likes number
        attribute :count, API::Types::Coercible::Int
        # @return [Integer] Information whether current uer has liked the post
        attribute :user_likes, API::Types::Coercible::Int
        # @return [Integer] Information whether current user can like the post
        attribute :can_like, API::Types::Coercible::Int
        # @return [Integer] Information whether current user can repost
        attribute :can_publish, API::Types::Coercible::Int.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/base/likes_info.rb