From 99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 1 May 2022 23:00:50 +0300 Subject: Fix telegram message deletion request (#1818) --- bridge/telegram/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/telegram/handlers.go b/bridge/telegram/handlers.go index 985db7f9..46bda480 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 } -- cgit v1.2.3