From 8a0219a962b7a79cb1a6e7cadaee7b3f9f0aac76 Mon Sep 17 00:00:00 2001 From: Vragov Roman Date: Tue, 28 Nov 2023 15:19:29 +0300 Subject: [PATCH] Add `ChannelType` field to the `CustomersRequest` struct --- v1/types.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/v1/types.go b/v1/types.go index 748422c..2e228e6 100644 --- a/v1/types.go +++ b/v1/types.go @@ -119,12 +119,13 @@ type ( } CustomersRequest struct { - ID uint64 `url:"id,omitempty"` - ChannelID uint64 `url:"channel_id,omitempty" json:"channel_id"` - ExternalID string `url:"external_id,omitempty" json:"external_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"` + ExternalID string `url:"external_id,omitempty" json:"external_id"` + Since string `url:"since,omitempty"` + Until string `url:"until,omitempty"` + Limit int `url:"limit,omitempty"` } ChatsRequest struct {