Table of Contents

Interface IIntimacy

Namespace
Kook
Assembly
Kook.Net.Core.dll

Represents a generic intimacy.

public interface IIntimacy : IEntity<ulong>
Inherited Members

Properties

Images

Gets the images associated with this intimacy.

IReadOnlyCollection<IntimacyImage> Images { get; }

Property Value

IReadOnlyCollection<IntimacyImage>

An IReadOnlyCollection<T> containing the images associated with this intimacy.

LastModifyAt

Gets the time at which this intimacy was modified last time.

DateTimeOffset? LastModifyAt { get; }

Property Value

DateTimeOffset?

A time at which this intimacy was modified last time.

LastReadAt

Gets the time at which the user read the message.

DateTimeOffset LastReadAt { get; }

Property Value

DateTimeOffset

A time at which the user read the message.

Score

Gets the score associated with this intimacy.

int Score { get; }

Property Value

int

A int representing the score associated with this intimacy.

SocialInfo

Gets the social information associated with this intimacy.

string SocialInfo { get; }

Property Value

string

A string representing the social information associated with this intimacy.

User

Gets the user associated with this intimacy.

IUser User { get; }

Property Value

IUser

An IUser representing the user associated with this intimacy.

Methods

UpdateAsync(Action<IntimacyProperties>, RequestOptions?)

Updates the intimacy information with this user.

Task UpdateAsync(Action<IntimacyProperties> func, RequestOptions? options = null)

Parameters

func Action<IntimacyProperties>

A delegate containing the properties to modify the IIntimacy with.

options RequestOptions

The options to be used when sending the request.

Returns

Task

A task that represents the asynchronous operation for updating the intimacy information.