country & city fields instead of ip field

This commit is contained in:
Pavel 2024-02-13 13:49:13 +03:00
parent e28631dcb2
commit 7c8e142cab

View File

@ -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"`
}