This commit is contained in:
shoopea 2020-02-01 20:30:12 +08:00
parent 6d80eb8524
commit b8713fb687

6
td.go
View File

@ -1,7 +1,7 @@
package main package main
import ( import (
//"encoding/json" "encoding/json"
"fmt" "fmt"
"log" "log"
"math" "math"
@ -200,8 +200,8 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
} }
if msg.ID == 22799187968 { if msg.ID == 22799187968 {
//x, err := json.Marshal(msg) x, err := json.Marshal(msg)
//logOnError(err, "Marshal") logOnError(err, "Marshal")
fmt.Printf("DUMP:\n%v\n", msg) fmt.Printf("DUMP:\n%v\n", msg)
return return
} }