From 6090ceebcfd0fb211b884ea115b923d2fd840a55 Mon Sep 17 00:00:00 2001 From: Kirill Sukhorukov Date: Mon, 17 Jun 2024 17:45:21 +0300 Subject: [PATCH] Add customer_external_id to ChatsRequest --- v1/types.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/v1/types.go b/v1/types.go index 1257837..2376efc 100644 --- a/v1/types.go +++ b/v1/types.go @@ -146,13 +146,14 @@ type ( } ChatsRequest struct { - ID uint64 `url:"id,omitempty"` - ChannelID uint64 `url:"channel_id,omitempty" json:"channel_id"` - ChannelType string `url:"channel_type,omitempty" json:"channel_type"` - CustomerID uint64 `url:"customer_id,omitempty" json:"customer_id"` - Since string `url:"since,omitempty"` - Until string `url:"until,omitempty"` - Limit int `url:"limit,omitempty"` + ID uint64 `url:"id,omitempty"` + ChannelID uint64 `url:"channel_id,omitempty" json:"channel_id"` + ChannelType string `url:"channel_type,omitempty" json:"channel_type"` + CustomerID uint64 `url:"customer_id,omitempty" json:"customer_id"` + CustomerExternalID string `url:"customer_external_id,omitempty" json:"customer_external_id"` + Since string `url:"since,omitempty"` + Until string `url:"until,omitempty"` + Limit int `url:"limit,omitempty"` } MembersRequest struct {