This commit is contained in:
shoopea 2019-05-15 11:17:44 +08:00
parent 342807612d
commit a3669f5e43

2
td.go
View File

@ -63,7 +63,6 @@ func ListenCW(c *tdlib.Client) {
user, err := c.GetUser(senderUserID)
if err != nil {
fmt.Println("ListenCW:", err.Error())
continue
}
txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text
@ -82,7 +81,6 @@ func ListenCW(c *tdlib.Client) {
MQCWMsgQueue <- m
fmt.Printf("[%d-%02d-%02d %02d:%02d:%02d-00:00]", t.Year(), t.Month(), t.Day(), t.Hour(), t.Minute(), t.Second())
fmt.Println(" === CHATWARS (", user.Username, ") =====================================================================")
fmt.Println(txt, "\n")
fmt.Println("************ DETAILS ************")
fmt.Println("ID : ", updateMsg.Message.ID)