Add customer_external_id to ChatsRequest

This commit is contained in:
Kirill Sukhorukov 2024-06-17 17:45:21 +03:00
parent 506a6a1d61
commit 6090ceebcf

View File

@ -146,13 +146,14 @@ type (
} }
ChatsRequest struct { ChatsRequest 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"`
ChannelType string `url:"channel_type,omitempty" json:"channel_type"` ChannelType string `url:"channel_type,omitempty" json:"channel_type"`
CustomerID uint64 `url:"customer_id,omitempty" json:"customer_id"` CustomerID uint64 `url:"customer_id,omitempty" json:"customer_id"`
Since string `url:"since,omitempty"` CustomerExternalID string `url:"customer_external_id,omitempty" json:"customer_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"`
} }
MembersRequest struct { MembersRequest struct {