test
This commit is contained in:
parent
d3e5166102
commit
0b455aa6f8
8
bot.go
8
bot.go
@ -187,6 +187,14 @@ func botMsgExportAll(m *tb.Message) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
c := TGCommand{
|
||||||
|
Type: commandReplyMsg,
|
||||||
|
Text: `Starting messages export`,
|
||||||
|
FromMsgID64: int64(m.ID),
|
||||||
|
FromChatID64: m.Chat.ID,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- c
|
||||||
|
|
||||||
b, err := zipMessages()
|
b, err := zipMessages()
|
||||||
logOnError(err, "botMsgExportAll : exportMessages")
|
logOnError(err, "botMsgExportAll : exportMessages")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user