1"use strict";(globalThis.webpackChunkmagmastream_docs=globalThis.webpackChunkmagmastream_docs||[]).push([[9703],{54703(e,s,t){t.r(s),t.d(s,{assets:()=>d,contentTitle:()=>i,default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>o});const a=JSON.parse('{"id":"Typedefs/manager-typedefs-LavalinkResponse","title":"Interface: LavalinkResponse","description":"The base response returned by Lavalink for search and load requests.","source":"@site/versioned_docs/version-2.10.0/Typedefs/LavalinkResponse.mdx","sourceDirName":"Typedefs","slug":"/typedefs/LavalinkResponse","permalink":"/docs/2.10.0/typedefs/LavalinkResponse","draft":false,"unlisted":false,"editUrl":"https://gitryx.com/MagmaStream/magmastream_documentation/tree/main/versioned_docs/version-2.10.0/Typedefs/LavalinkResponse.mdx","tags":[],"version":"2.10.0","lastUpdatedBy":"realdarek","lastUpdatedAt":1772983402000,"frontMatter":{"id":"manager-typedefs-LavalinkResponse","title":"Interface: LavalinkResponse","description":"The base response returned by Lavalink for search and load requests.","slug":"/typedefs/LavalinkResponse","sidebar_label":"LavalinkResponse"},"sidebar":"tutorialSidebar","previous":{"title":"LavalinkInfo","permalink":"/docs/2.10.0/typedefs/LavalinkInfo"},"next":{"title":"LavalinkVoiceStateResponse","permalink":"/docs/2.10.0/typedefs/LavalinkVoiceStateResponse"}}');var n=t(74848),l=t(28453);const r={id:"manager-typedefs-LavalinkResponse",title:"Interface: LavalinkResponse",description:"The base response returned by Lavalink for search and load requests.",slug:"/typedefs/LavalinkResponse",sidebar_label:"LavalinkResponse"},i=void 0,d={},o=[];function c(e){const s={a:"a",blockquote:"blockquote",code:"code",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,l.R)(),...e.components};return(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsx)(s.p,{children:"Represents the standard response from Lavalink when tracks or playlists are loaded."}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsxs)(s.th,{style:{textAlign:"left"},children:[(0,n.jsx)("i",{className:"fa-solid fa-hashtag"})," Property"]}),(0,n.jsxs)(s.th,{style:{textAlign:"left"},children:[(0,n.jsx)("i",{className:"fa-solid fa-font"})," Type"]}),(0,n.jsxs)(s.th,{style:{textAlign:"left"},children:[(0,n.jsx)("i",{className:"fa-solid fa-list"})," Description"]}),(0,n.jsxs)(s.th,{style:{textAlign:"center"},children:[(0,n.jsx)("i",{className:"fa-solid fa-flask"})," Optional"]})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"loadType"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.a,{href:"/docs/2.10.0/enums/LoadTypes",children:"LoadTypes"})}),(0,n.jsx)(s.td,{style:{textAlign:"left"},children:"Indicates the type of load result returned by Lavalink."}),(0,n.jsx)(s.td,{style:{textAlign:"center"},children:(0,n.jsx)("i",{className:"fa-solid fa-xmark"})})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{style:{textAlign:"left"},children:(0,n.jsx)(s.code,{children:"data"})}),(0,n.jsxs)(s.td,{style:{textAlign:"left"},children:[(0,n.jsx)(s.a,{href:"/docs/2.10.0/typedefs/TrackData",children:(0,n.jsx)(s.code,{children:"TrackData[]"})})," | ",(0,n.jsx)(s.a,{href:"/docs/2.10.0/typedefs/PlaylistRawData",children:(0,n.jsx)(s.code,{children:"PlaylistRawData"})})]}),(0,n.jsxs)(s.td,{style:{textAlign:"left"},children:["Either a list of tracks or a full playlist, depending on ",(0,n.jsx)(s.code,{children:"loadType"}),"."]}),(0,n.jsx)(s.td,{style:{textAlign:"center"},children:(0,n.jsx)("i",{className:"fa-solid fa-xmark"})})]})]})]}),"\n"]})}function p(e={}){const{wrapper:s}={...(0,l.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},28453(e,s,t){t.d(s,{R:()=>r,x:()=>i});var a=t(96540);const n={},l=a.createContext(n);function r(e){const s=a.useContext(l);return a.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),a.createElement(l.Provider,{value:s},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.