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
forceboolControls whether the helper may perform REST requests when the requested entities are not already cached.
cancellationTokenCancellationTokenA 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.