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