diff --git a/job.go b/job.go index 790e29d..74e0e08 100644 --- a/job.go +++ b/job.go @@ -1528,7 +1528,7 @@ func jobGWithdraw(j Job) { cmd := TGCommand{ Type: commandReplyMsg, Text: "You cannot validate your own withdrawl", - FromMsgID64: cwm.Msg.MsgID64, + FromMsgID64: cwm.Msg.ID64, FromChatID64: cwm.Msg.ChatID64, } TGCmdQueue <- cmd @@ -1552,7 +1552,7 @@ func jobGWithdraw(j Job) { } p.CleanupMsg = []ChatWarsMessage{} delmsg := tb.StoredMessage{ - MessageID: fmt.Sprintf("%d", cwm.Msg.MsgID64), + MessageID: fmt.Sprintf("%d", cwm.Msg.ID64), ChatID: cwm.Msg.ChatID64, } err = bot.Delete(delmsg)