mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
Limits
This commit is contained in:
parent
0919ed1563
commit
5a73ef3c5e
@ -90,6 +90,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelsRequest struct {
|
ChannelsRequest struct {
|
||||||
@ -98,6 +99,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
UsersRequest struct {
|
UsersRequest struct {
|
||||||
@ -107,6 +109,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomersRequest struct {
|
CustomersRequest struct {
|
||||||
@ -114,6 +117,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
ChatsRequest struct {
|
ChatsRequest struct {
|
||||||
@ -122,6 +126,7 @@ type (
|
|||||||
ChannelType string `url:"channel_type,omitempty" json:"channel_type"`
|
ChannelType string `url:"channel_type,omitempty" json:"channel_type"`
|
||||||
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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
MembersRequest struct {
|
MembersRequest struct {
|
||||||
@ -130,6 +135,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogsRequest struct {
|
DialogsRequest struct {
|
||||||
@ -141,6 +147,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogAssignRequest struct {
|
DialogAssignRequest struct {
|
||||||
@ -162,6 +169,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageSendRequest struct {
|
MessageSendRequest struct {
|
||||||
@ -191,6 +199,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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandEditRequest struct {
|
CommandEditRequest struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user