Fix telegram message deletion request (#1818)

This commit is contained in:
Alexander 2022-05-01 23:00:50 +03:00 committed by GitHub
parent 67adad3e08
commit 99fbd9cae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ func (b *Btelegram) handleDelete(msg *config.Message, chatid int64) (string, err
} }
cfg := tgbotapi.NewDeleteMessage(chatid, msgid) cfg := tgbotapi.NewDeleteMessage(chatid, msgid)
_, err = b.c.Send(cfg) _, err = b.c.Request(cfg)
return "", err return "", err
} }