From 86c3f3f730dd8867f4d5df6fef428df36ff2d193 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 11 Jul 2025 16:07:02 +0300 Subject: Added device analytics packet --- internal/packet/types.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'internal/packet/types.go') diff --git a/internal/packet/types.go b/internal/packet/types.go index 1b25c33..2ad8aae 100644 --- a/internal/packet/types.go +++ b/internal/packet/types.go @@ -329,3 +329,15 @@ type Authenticate struct { func (m *Authenticate) Type() PacketType { return PacketAuthenticate } + +type DeviceAnalytics struct { + DeviceID string + OS string + Arch string + Term string + Colorterm string +} + +func (m *DeviceAnalytics) Type() PacketType { + return PacketDeviceAnalytics +} -- cgit v1.3.1