test
This commit is contained in:
parent
342807612d
commit
a3669f5e43
2
td.go
2
td.go
@ -63,7 +63,6 @@ func ListenCW(c *tdlib.Client) {
|
|||||||
user, err := c.GetUser(senderUserID)
|
user, err := c.GetUser(senderUserID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("ListenCW:", err.Error())
|
fmt.Println("ListenCW:", err.Error())
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
|
|
||||||
txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text
|
txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text
|
||||||
@ -82,7 +81,6 @@ func ListenCW(c *tdlib.Client) {
|
|||||||
MQCWMsgQueue <- m
|
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.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(txt, "\n")
|
||||||
fmt.Println("************ DETAILS ************")
|
fmt.Println("************ DETAILS ************")
|
||||||
fmt.Println("ID : ", updateMsg.Message.ID)
|
fmt.Println("ID : ", updateMsg.Message.ID)
|
||||||
|
Loading…
Reference in New Issue
Block a user