Skip to content

Commit dd7ec65

Browse files
committed
Remove Links from list responses: they're not present in response
1 parent 66d12e1 commit dd7ec65

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

conversation/api.go

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ type ConversationList struct {
3030
Limit int
3131
Count int
3232
TotalCount int
33-
Links struct {
34-
First string
35-
Previous string
36-
Next string
37-
Last string
38-
}
39-
Items []*Conversation
33+
Items []*Conversation
4034
}
4135

4236
type Conversation struct {
@@ -96,13 +90,7 @@ type MessageList struct {
9690
Limit int
9791
Count int
9892
TotalCount int
99-
Links struct {
100-
First string
101-
Previous string
102-
Next string
103-
Last string
104-
}
105-
Items []*Message
93+
Items []*Message
10694
}
10795

10896
type Message struct {
@@ -190,13 +178,7 @@ type WebhookList struct {
190178
Limit int
191179
Count int
192180
TotalCount int
193-
Links struct {
194-
First string
195-
Previous string
196-
Next string
197-
Last string
198-
}
199-
Items []*Webhook
181+
Items []*Webhook
200182
}
201183

202184
type Webhook struct {

0 commit comments

Comments
 (0)