Table of Contents
API reference

Method DecodeTrackAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Decodes an encoded LavalinkTrack.

Might not work with some pre 4.0 tracks.

public Task<LavalinkTrack> DecodeTrackAsync(string track, CancellationToken cancellationToken = default)

Parameters

track string

The track to decode.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<LavalinkTrack>

The decoded LavalinkTrack.