diff --git a/client.go b/client.go index 1aca8f5..cd7cae6 100644 --- a/client.go +++ b/client.go @@ -1,6 +1,8 @@ package main import ( + "encoding/json" + "log" "strings" ) @@ -21,6 +23,9 @@ func clientRefreshCWMsg(chatID64 int64, msgID64 int64) { FromMsgID64: msgID64, } + b, _ := json.Marshal(c) + log.Printf("clientRefreshCWMsg:\n%s\n", string(b)) + MQTGCmdQueue <- c }