This commit is contained in:
shoopea 2019-06-09 00:06:50 +08:00
parent d3e5166102
commit 0b455aa6f8

8
bot.go
View File

@ -187,6 +187,14 @@ func botMsgExportAll(m *tb.Message) {
return
}
c := TGCommand{
Type: commandReplyMsg,
Text: `Starting messages export`,
FromMsgID64: int64(m.ID),
FromChatID64: m.Chat.ID,
}
TGCmdQueue <- c
b, err := zipMessages()
logOnError(err, "botMsgExportAll : exportMessages")
if err != nil {