Table of Contents
API reference

Property Result

Namespace
DisCatSharp.Lavalink.Entities
Assembly
DisCatSharp.Lavalink.dll

Gets the load result.

You need to convert the object to the corresponding type based on LoadType.

<pre><code class="lang-csharp">var track = (LavalinkTrack)LavalinkTrackLoadingResult.Result;</code></pre>
LoadType Convert to
Track LavalinkTrack
Playlist LavalinkPlaylist
Search List<T> of LavalinkTrack
Empty null
Error LavalinkException
[JsonIgnore]
public object Result { get; }

Property Value

object