This commit is contained in:
shoopea 2019-06-09 19:52:05 +08:00
parent e78d8c6bff
commit 44aa5f753e

5
bot.go
View File

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