From dfc8573896ebeefb19561a219d4f92d59e5080b5 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 3 May 2019 16:00:39 +0800 Subject: [PATCH] upd --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 76121e0..8c1c9ff 100644 --- a/main.go +++ b/main.go @@ -21,11 +21,11 @@ const ( ) type ChatWarsMessage struct { - MsgID64 int64 `json:"msg_id"` - UserID64 int64 `json:"user_id"` - Direction string `json:"direction"` - MsgText string `json:"msg"` - MsgDate int32 `json:"date"` + MsgID64 int64 `json:"msg_id"` + UserID64 int64 `json:"user_id"` + Direction MsgDirection `json:"direction"` + MsgText string `json:"msg"` + MsgDate int32 `json:"date"` } const user_chtwrsbot = 408101137