Table of Contents
API reference

Method DecodeTracksAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Decodes encoded LavalinkTracks.

Might not work with pre 3.0 tracks.

public Task<IReadOnlyList<LavalinkTrack>> DecodeTracksAsync(IEnumerable<string> tracks, CancellationToken cancellationToken = default)

Parameters

tracks IEnumerable<string>

The tracks to decode.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IReadOnlyList<LavalinkTrack>>

A List<T> of decoded LavalinkTracks.