Sha256: 4d8ef4af113cc4590f41ed49cc4ed5fd0604626941e8e7d4f8fb16b852b03a7f

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

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

module Vk
  module API
    class Fave < Vk::Schema::Namespace
      module Methods
        # Returns a list of wall posts that the current user has liked.;
        class GetPosts < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'fave.getPosts'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :offset Offset needed to return a specific subset of posts.
          #   @option arguments [Integer] :count Number of posts to return.
          #   @option arguments [Boolean] :extended '1' — to return additional 'wall', 'profiles', and 'groups' fields.; ; By default: '0'.
          #   @return [Fave::Methods::GetPosts]

          # @!group Arguments

          # @return [Integer] Offset needed to return a specific subset of posts.
          attribute :offset, API::Types::Coercible::Int.optional
          # @return [Integer] Number of posts to return.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [Boolean] '1' — to return additional 'wall', 'profiles', and 'groups' fields.; ; By default: '0'.
          attribute :extended, API::Types::Bool.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/fave/methods/get_posts.rb