We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffc8eb commit 7266716Copy full SHA for 7266716
rest/query_params.go
@@ -0,0 +1,11 @@
1
+package rest
2
+
3
+import (
4
+ "github.com/disgoorg/disgo/discord"
5
+)
6
7
+// QueryParams serves as a generic interface for implementations of rest endpoint query parameters.
8
+type QueryParams interface {
9
+ // ToQueryValues transforms fields from the QueryParams interface implementations into discord.QueryValues.
10
+ ToQueryValues() discord.QueryValues
11
+}
0 commit comments