From 8a46ec2661cfb6e342b93d50a2938f4445e001bf Mon Sep 17 00:00:00 2001 From: Alexander Korelskiy Date: Fri, 29 Apr 2022 13:59:02 +0300 Subject: [PATCH] Fix telegram message deletion request --- bridge/telegram/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/telegram/handlers.go b/bridge/telegram/handlers.go index 985db7f917..46bda48098 100644 --- a/bridge/telegram/handlers.go +++ b/bridge/telegram/handlers.go @@ -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 }