Skip to content

Commit

Permalink
add "docs" lol
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Dec 1, 2024
1 parent 31f947f commit da7ac5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rest/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit da7ac5d

Please sign in to comment.