Sha256: 29f65a2a9977f43b986221d097a7ffde8d321c68c7e00c3f8ad0b04eee958308

Contents?: true

Size: 975 Bytes

Versions: 1

Compression:

Stored size: 975 Bytes

Contents

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

module Vk
  module API
    class Friends < Vk::Schema::Namespace
      module Methods
        # Creates a new friend list for the current user.
        class AddList < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'friends.addList'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :name Name of the friend list.
          #   @option arguments [Array] :user_ids IDs of users to be added to the friend list.;
          #   @return [Friends::Methods::AddList]

          # @!group Arguments

          # @return [String] Name of the friend list.
          attribute :name, API::Types::Coercible::String.optional
          # @return [Array] IDs of users to be added to the friend list.;
          attribute :user_ids, 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/friends/methods/add_list.rb