test
This commit is contained in:
parent
f8489a4f2f
commit
45b1dc51c5
2
bot.go
2
bot.go
@ -269,7 +269,7 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
r := m.ReplyTo
|
r := m.ReplyTo
|
||||||
if r.Document != nil {
|
if r.Document != nil {
|
||||||
d := r.Document
|
d := r.Document
|
||||||
if d.File.FilePath != nil {
|
if len(d.File.FilePath) > 0 {
|
||||||
txt := fmt.Sprintf("Document found at %s\n", d.File.FilePath)
|
txt := fmt.Sprintf("Document found at %s\n", d.File.FilePath)
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
Type: commandReplyMsg,
|
Type: commandReplyMsg,
|
||||||
|
Loading…
Reference in New Issue
Block a user