From 7997a8298626c437c6ff45aca912592cfcf67731 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 11 Jun 2019 11:36:58 +0800 Subject: [PATCH] test --- td.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/td.go b/td.go index 61f6ebb..0157c69 100644 --- a/td.go +++ b/td.go @@ -48,11 +48,6 @@ func ListenMQ(c *tdlib.Client, msgs <-chan TGCommand) { case commandRefreshMsg: u, err := c.GetMessage(m.FromChatID64, m.FromMsgID64) logOnError(err, "ListenMQ : commandRefreshMsg") - /* 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