Skip to content

Commit

Permalink
Fix telegram message deletion request (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
sas1024 authored May 1, 2022
1 parent 67adad3 commit 99fbd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/telegram/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 99fbd9c

Please # to comment.