mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix: remove another bunch of obsolete method calls
This commit is contained in:
@@ -39,7 +39,7 @@ public class DeleteService : AbstractTimedHostedService
|
||||
{
|
||||
try
|
||||
{
|
||||
await _bot.BotClient.DeleteMessageAsync(request.ChatId, request.MessageId);
|
||||
await _bot.BotClient.DeleteMessage(request.ChatId, request.MessageId);
|
||||
}
|
||||
catch (ApiRequestException e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user