mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
fix for limit parameter serialized name
This commit is contained in:
commit
942cf81ce6
18
v1/types.go
18
v1/types.go
@ -96,7 +96,7 @@ type (
|
||||
Role string `url:"role,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
ChannelsRequest struct {
|
||||
@ -105,7 +105,7 @@ type (
|
||||
Active uint8 `url:"active,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
UsersRequest struct {
|
||||
@ -115,7 +115,7 @@ type (
|
||||
Active uint8 `url:"active,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
CustomersRequest struct {
|
||||
@ -123,7 +123,7 @@ type (
|
||||
ExternalID string `url:"external_id,omitempty" json:"external_id"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
ChatsRequest struct {
|
||||
@ -133,7 +133,7 @@ type (
|
||||
CustomerID uint64 `url:"customer_id,omitempty" json:"customer_id"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
MembersRequest struct {
|
||||
@ -142,7 +142,7 @@ type (
|
||||
State string `url:"state,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
DialogsRequest struct {
|
||||
@ -154,7 +154,7 @@ type (
|
||||
Active uint8 `url:"active,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
DialogAssignRequest struct {
|
||||
@ -176,7 +176,7 @@ type (
|
||||
Type string `url:"type,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
MessageSendRequest struct {
|
||||
@ -216,7 +216,7 @@ type (
|
||||
Name string `url:"name,omitempty"`
|
||||
Since string `url:"since,omitempty"`
|
||||
Until string `url:"until,omitempty"`
|
||||
Limit int `url:"int,omitempty"`
|
||||
Limit int `url:"limit,omitempty"`
|
||||
}
|
||||
|
||||
CommandEditRequest struct {
|
||||
|
Loading…
Reference in New Issue
Block a user