Sha256: 9ddea106ad0328e283c36ac99fd377e968873bd82b54d0a4723a060a9700654a

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

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

module Vk
  module API
    class Friends < Vk::Schema::Namespace
      module Methods
        # Declines a friend request or deletes a user from the current user's friend list.
        class Delete < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.
          #   @return [Friends::Methods::Delete]

          # @!group Arguments

          # @return [Integer] ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.
          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/friends/methods/delete.rb