From 7c8e142cabcdfc2c0e48e25c792addfd0dfa659a Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 13 Feb 2024 13:49:13 +0300 Subject: [PATCH] country & city fields instead of ip field --- types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types.go b/types.go index d344d8f..c6d7440 100644 --- a/types.go +++ b/types.go @@ -1365,7 +1365,8 @@ type ChatCustomerOnline struct { type ChatVisitsResponse struct { UTM *ChatUTM `json:"utm,omitempty"` Device ChatDevice `json:"device"` - IP string `json:"ip"` + Country string `json:"country"` + City string `json:"city"` LastVisit ChatLastVisit `json:"lastVisit"` CountVisits uint `json:"countVisits"` }