Fix telegram message deletion request

This commit is contained in:
Alexander Korelskiy
2022-04-29 13:59:02 +03:00
parent 67adad3e08
commit 8a46ec2661

View File

@@ -404,7 +404,7 @@ func (b *Btelegram) handleDelete(msg *config.Message, chatid int64) (string, err
}
cfg := tgbotapi.NewDeleteMessage(chatid, msgid)
_, err = b.c.Send(cfg)
_, err = b.c.Request(cfg)
return "", err
}