Table of Contents

Interface IFriendRequest

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents a generic friend request.

public interface IFriendRequest : IEntity<ulong>
Inherited Members

Properties

User

Gets the user who sent this friend request.

IUser User { get; }

Property Value

IUser

Methods

AcceptAsync(RequestOptions?)

Accepts this friend request.

Task AcceptAsync(RequestOptions? options = null)

Parameters

options RequestOptions

The options to use when accepting this friend request.

Returns

Task

A task that represents the asynchronous accept operation.

DeclineAsync(RequestOptions?)

Declines this friend request.

Task DeclineAsync(RequestOptions? options = null)

Parameters

options RequestOptions

The options to use when declining this friend request.

Returns

Task

A task that represents the asynchronous decline operation.