test
This commit is contained in:
parent
22b3bbe81e
commit
b69c2877a9
2
td.go
2
td.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user