Add ChannelType field to the CustomersRequest struct

This commit is contained in:
Pavel 2023-11-28 16:21:28 +03:00 committed by GitHub
commit 1c8f6885e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {