Table of Contents

Method HydrateAllAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

HydrateAllAsync(bool, CancellationToken)

Hydrates the actor, primary target, and related references for this entry.

public Task HydrateAllAsync(bool force = true, CancellationToken cancellationToken = default)

Parameters

force bool

Controls whether the helper may perform REST requests when the requested entities are not already cached.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task

A task representing the asynchronous hydration operation.

Remarks

This is a convenience wrapper around HydrateAsync(AuditLogHydrationTargets, bool, CancellationToken) with All.