diff --git a/rest/query_params.go b/rest/query_params.go index c18b99b0..9d17c83d 100644 --- a/rest/query_params.go +++ b/rest/query_params.go @@ -4,6 +4,8 @@ import ( "github.com/disgoorg/disgo/discord" ) +// QueryParams serves as a generic interface for implementations of rest endpoint query parameters. type QueryParams interface { + // ToQueryValues transforms fields from the QueryParams interface implementations into discord.QueryValues. ToQueryValues() discord.QueryValues }