Sha256: a41b4e4e8074f7b7c469acecc94046f04078dd4a20b9fc9b787260801112df5b

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Pages < Vk::Schema::Namespace
      module Methods
        # Returns a list of all previous versions of a wiki page.
        class GetHistory < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'pages.getHistory'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :page_id Wiki page ID.
          #   @option arguments [Integer] :group_id ID of the community that owns the wiki page.
          #   @option arguments [Integer] :user_id 
          #   @return [Pages::Methods::GetHistory]

          # @!group Arguments

          # @return [Integer] Wiki page ID.
          attribute :page_id, API::Types::Coercible::Int.optional
          # @return [Integer] ID of the community that owns the wiki page.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] 
          attribute :user_id, API::Types::Coercible::Int.optional
        end
      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/pages/methods/get_history.rb