test
This commit is contained in:
parent
6da33a53e4
commit
fc63ef8fbc
2
bot.go
2
bot.go
@ -301,7 +301,7 @@ func botBackupImport(m *tb.Message) {
|
||||
return
|
||||
}
|
||||
|
||||
p := JobPayloadBackupExport{
|
||||
p := JobPayloadBackupImport{
|
||||
URL: m.Payload,
|
||||
MsgID64: int64(m.ID),
|
||||
ChatID64: m.Chat.ID,
|
||||
|
4
job.go
4
job.go
@ -11,6 +11,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
tb "gopkg.in/tucnak/telebot.v2"
|
||||
)
|
||||
|
||||
func createJob(jobTypeID int32, priority int32, userID64 int64, schedule time.Time, payload []byte) (int64, error) {
|
||||
@ -582,7 +584,7 @@ func jobBackupImport(j Job) {
|
||||
}
|
||||
}
|
||||
|
||||
m := TGCommand{
|
||||
m = TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
Text: "Not backup file found in archive.",
|
||||
FromMsgID64: p.MsgID64,
|
||||
|
Loading…
Reference in New Issue
Block a user