test
This commit is contained in:
parent
44aa5f753e
commit
0788e819be
4
bot.go
4
bot.go
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user