summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorAlexander <korelskiy@uteka.ru>2022-05-01 23:00:50 +0300
committerGitHub <noreply@github.com>2022-05-01 22:00:50 +0200
commit99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc (patch)
tree479246983e13d59a7ea1901a8021ea7f9ca96311 /bridge
parent67adad3e08fe17d5f7e87468ea47aa76e1662255 (diff)
downloadmatterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.tar.gz
matterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.tar.bz2
matterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.zip
Fix telegram message deletion request (#1818)
Diffstat (limited to 'bridge')
-rw-r--r--bridge/telegram/handlers.go2
1 files changed, 1 insertions, 1 deletions
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
}