From e28631dcb2cba0c180caeb33c3b77491872bd126 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 6 Feb 2024 14:59:39 +0300 Subject: [PATCH] fieldalignment fix --- types.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types.go b/types.go index b502766..d344d8f 100644 --- a/types.go +++ b/types.go @@ -1363,19 +1363,19 @@ type ChatCustomerOnline struct { } type ChatVisitsResponse struct { - LastVisit ChatLastVisit `json:"lastVisit"` - IP string `json:"ip"` - CountVisits uint `json:"countVisits"` - Device ChatDevice `json:"device"` UTM *ChatUTM `json:"utm,omitempty"` + Device ChatDevice `json:"device"` + IP string `json:"ip"` + LastVisit ChatLastVisit `json:"lastVisit"` + CountVisits uint `json:"countVisits"` } type ChatLastVisit struct { - Source string `json:"source"` - Duration uint `json:"duration"` CreatedAt SystemTime `json:"createdAt"` EndedAt *SystemTime `json:"endedAt,omitempty"` + Source string `json:"source"` Pages []ChatVisitedPage `json:"pages"` + Duration uint `json:"duration"` } type ChatVisitedPage struct {