Add ChannelType field to the CustomersRequest struct

This commit is contained in:
Vragov Roman 2023-11-28 15:19:29 +03:00
parent 5190445cc4
commit 8a0219a962

View File

@ -119,12 +119,13 @@ type (
} }
CustomersRequest struct { CustomersRequest struct {
ID uint64 `url:"id,omitempty"` ID uint64 `url:"id,omitempty"`
ChannelID uint64 `url:"channel_id,omitempty" json:"channel_id"` ChannelID uint64 `url:"channel_id,omitempty" json:"channel_id"`
ExternalID string `url:"external_id,omitempty" json:"external_id"` ChannelType string `url:"channel_type,omitempty" json:"channel_type"`
Since string `url:"since,omitempty"` ExternalID string `url:"external_id,omitempty" json:"external_id"`
Until string `url:"until,omitempty"` Since string `url:"since,omitempty"`
Limit int `url:"limit,omitempty"` Until string `url:"until,omitempty"`
Limit int `url:"limit,omitempty"`
} }
ChatsRequest struct { ChatsRequest struct {