Sha256: 086aff39621775fb25a68305ed749bc73879a888c8fb748dec88d89cc96571a3

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

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

module Vk
  module API
    class Newsfeed < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class NewsfeedItem < Vk::Schema::Object
        # @return [String] Item type
        attribute :type, API::Types::Coercible::String.optional
        # @return [Integer] Item source ID
        attribute :source_id, API::Types::Coercible::Int.optional
        # @return [Integer] Date when item has been added in Unixtime
        attribute :date, 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/newsfeed/newsfeed_item.rb