mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix: build and lots of obsolete warnings
This commit is contained in:
@@ -132,14 +132,14 @@ public class Roll : CommonHandler
|
||||
}
|
||||
}
|
||||
|
||||
await Bot.SendTextMessageAsync(Chat, $"{string.Join(", ", numbers)}\n\nPositive: {positive}.\nNegative: {negative}");
|
||||
await Bot.SendMessage(Chat, $"{string.Join(", ", numbers)}\n\nPositive: {positive}.\nNegative: {negative}");
|
||||
}
|
||||
|
||||
protected override async Task<Message> Reply(string text)
|
||||
{
|
||||
// TODO: move feature with autocleaning to Core CommonHandler.
|
||||
var message = await Bot.SendTextMessageAsync(Chat.Id, text,
|
||||
replyToMessageId: Message?.MessageId, parseMode: ParseMode.Html);
|
||||
var message = await Bot.SendMessage(Chat.Id, text,
|
||||
replyParameters: Message?.MessageId, parseMode: ParseMode.Html);
|
||||
|
||||
_requests.Add(new DeleteRequest
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user