Update result struct to include stuff i forgot
This commit is contained in:
3
types.go
3
types.go
@ -151,6 +151,9 @@ type pagination struct {
|
||||
type result struct {
|
||||
Messages []messages `json:"messages,omitempty"`
|
||||
Pagination pagination `json:"pagination"`
|
||||
Message string `json:"message"`
|
||||
ID int `json:"id"`
|
||||
Ratelimits []rateLimits `json:"ratelimits"`
|
||||
}
|
||||
type messages struct {
|
||||
Msg msg `json:"msg,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user