This commit is contained in:
shoopea 2019-06-11 10:51:43 +08:00
parent 22b3bbe81e
commit b69c2877a9

2
td.go
View File

@ -36,7 +36,7 @@ func ListenMQ(c *tdlib.Client, msgs <-chan TGCommand) {
now = time.Now()
}
b, _ := json.Marshal(m)
log.Printf("New MQ message :\n%s\n", string(b))
log.Printf("****************************** New MQ message ******************************\n%s\n****************************************************************************\n", string(b))
switch m.Type {
case commandSendMsg:
msgTxt := tdlib.NewInputMessageText(tdlib.NewFormattedText(m.Text, nil), true, true)