From 3e2407c3c93bc528fb2c527b551aab20b34e9d02 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 11 Jun 2019 11:21:53 +0800 Subject: [PATCH] test --- td.go | 1 + 1 file changed, 1 insertion(+) diff --git a/td.go b/td.go index 1c680d7..3e01979 100644 --- a/td.go +++ b/td.go @@ -51,6 +51,7 @@ func ListenMQ(c *tdlib.Client, msgs <-chan TGCommand) { b, err := json.Marshal(u) logOnError(err, "ListenMQ : Marshal") log.Printf("ListenMQ : commandRefreshMsg (%d - %d) :\n%s\n", m.FromChatID64, m.FromMsgID64, string(b)) + log.Printf("ListenMQ : commandRefreshMsg : Type : %s\n", u.Content.GetMessageContentEnum()) if err != nil && u.Content.GetMessageContentEnum() == tdlib.MessageTextType { txt := u.Content.(*tdlib.MessageText).Text.Text