|
|
|
@ -21,8 +21,6 @@ type ChatAPI struct {
@@ -21,8 +21,6 @@ type ChatAPI struct {
|
|
|
|
|
Message string `json:"message,omitempty"` |
|
|
|
|
ID int `json:"id,omitempty"` |
|
|
|
|
Ratelimits []rateLimits `json:"ratelimits,omitempty"` |
|
|
|
|
Conversations []conversation `json:"conversations,omitempty"` |
|
|
|
|
Offline bool `json:"offline,omitempty"` |
|
|
|
|
Result result `json:"result,omitempty"` |
|
|
|
|
keybase Keybase // Some methods will need this, so I'm passing it but keeping it unexported
|
|
|
|
|
} |
|
|
|
@ -165,6 +163,8 @@ type result struct {
@@ -165,6 +163,8 @@ type result struct {
|
|
|
|
|
Message string `json:"message"` |
|
|
|
|
ID int `json:"id"` |
|
|
|
|
Ratelimits []rateLimits `json:"ratelimits"` |
|
|
|
|
Conversations []conversation `json:"conversations,omitempty"` |
|
|
|
|
Offline bool `json:"offline,omitempty"` |
|
|
|
|
} |
|
|
|
|
type messages struct { |
|
|
|
|
Msg msg `json:"msg,omitempty"` |
|
|
|
|