Skip to content

Commit

Permalink
Merge branch 'master' into feature/entitlement-endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Dec 1, 2024
2 parents 4ab8ee6 + 7266716 commit 10047f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rest/query_params.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package rest

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
}

0 comments on commit 10047f6

Please sign in to comment.