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