From 0b455aa6f89283a5947ef0f027f2e7a8f4b7d85e Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 9 Jun 2019 00:06:50 +0800 Subject: [PATCH] test --- bot.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bot.go b/bot.go index 121b54b..daa1be2 100644 --- a/bot.go +++ b/bot.go @@ -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 {