Sha256: 57bfec1b2f869b46673ea9b768e0f9783d0597fce73833e392d3a4bd7ab630ac

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

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

module Vk
  module API
    class Apps < Vk::Schema::Namespace
      module Methods
        # Creates friends list for requests and invites in current app.
        class GetFriendsList < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'apps.getFriendsList'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :count List size.
          #   @option arguments [String] :type List type. Possible values:; * 'invite' — available for invites (don't play the game);; * 'request' — available for request (play the game).; ; By default: 'invite'.
          #   @option arguments [Array] :fields Additional profile fields, see .
          #   @return [Apps::Methods::GetFriendsList]

          # @!group Arguments

          # @return [Integer] List size.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [String] List type. Possible values:; * 'invite' — available for invites (don't play the game);; * 'request' — available for request (play the game).; ; By default: 'invite'.
          attribute :type, API::Types::Coercible::String.optional
          # @return [Array] Additional profile fields, see .
          attribute :fields, API::Types::Coercible::Array.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/apps/methods/get_friends_list.rb