testtest
This commit is contained in:
parent
99e7a38ad8
commit
43d99a09ba
9
bot.go
9
bot.go
@ -207,6 +207,15 @@ func botMsgExportAll(m *tb.Message) {
|
||||
TGCmdQueue <- c
|
||||
|
||||
return
|
||||
} else {
|
||||
text := fmt.Sprintf("Document size : %d bytes.", len(b))
|
||||
c := TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: text,
|
||||
FromMsgID64: int64(m.ID),
|
||||
FromChatID64: m.Chat.ID,
|
||||
}
|
||||
TGCmdQueue <- c
|
||||
}
|
||||
|
||||
d := tb.Document{File: tb.FromReader(bytes.NewReader(b))}
|
||||
|
Loading…
Reference in New Issue
Block a user