From 9e443921c42a5b3a78300992888c35e3de114f12 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 22 Jul 2019 01:02:42 -0400 Subject: [PATCH] Update result struct to include stuff i forgot --- types.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 7142b43..6eac30c 100644 --- a/types.go +++ b/types.go @@ -149,8 +149,11 @@ type pagination struct { ForceFirstPage bool `json:"forceFirstPage,omitempty"` } type result struct { - Messages []messages `json:"messages,omitempty"` - Pagination pagination `json:"pagination"` + 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"`