This commit is contained in:
shoopea 2019-06-09 19:53:23 +08:00
parent 44aa5f753e
commit 0788e819be

4
bot.go
View File

@ -285,12 +285,12 @@ func botMsgLoad(m *tb.Message) {
} }
TGCmdQueue <- c TGCmdQueue <- c
x, err := json.Marshal(f) x, err := json.Marshal(m.ReplyTo)
logOnError(err, "botMsgLoad : Marshal") logOnError(err, "botMsgLoad : Marshal")
log.Printf("URL : %s\n", b.URL) log.Printf("URL : %s\n", b.URL)
log.Printf("Token : %s\n", b.Token) log.Printf("Token : %s\n", b.Token)
log.Printf("File : %s\n", string(x)) //log.Printf("File : %s\n", string(x))
//url := fmt.Sprintf("%s/file/bot%s/%s", b.URL, b.Token, f.FilePath) //url := fmt.Sprintf("%s/file/bot%s/%s", b.URL, b.Token, f.FilePath)