diff options
author | Alexander <korelskiy@uteka.ru> | 2022-05-01 23:00:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-01 22:00:50 +0200 |
commit | 99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc (patch) | |
tree | 479246983e13d59a7ea1901a8021ea7f9ca96311 /bridge/telegram | |
parent | 67adad3e08fe17d5f7e87468ea47aa76e1662255 (diff) | |
download | matterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.tar.gz matterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.tar.bz2 matterbridge-msglm-99fbd9cae6ab6dd9b2b1c5164cba00d973e6bfbc.zip |
Fix telegram message deletion request (#1818)
Diffstat (limited to 'bridge/telegram')
-rw-r--r-- | bridge/telegram/handlers.go | 2 |
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 } |