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