Add customer_external_id to ChatsRequest

This commit is contained in:
Pavel 2024-06-24 15:34:18 +03:00 committed by GitHub
commit 3d84ddaee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {