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