Sha256: 7a5596d6b1dc53a2fcf98494707ed9865f3ba4bcaf68c800ebcc995f35357ed5

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

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

module Vk
  module API
    class Friends < Vk::Schema::Namespace
      module Methods
        # Edits the friend lists of the selected user.
        class Edit < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id ID of the user whose friend list is to be edited.
          #   @option arguments [Array] :list_ids IDs of the friend lists to which to add the user.
          #   @return [Friends::Methods::Edit]

          # @!group Arguments

          # @return [Integer] ID of the user whose friend list is to be edited.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Array] IDs of the friend lists to which to add the user.
          attribute :list_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/edit.rb