Update to Telegram Bot Framework 2.0

This commit is contained in:
Andriy
2023-07-29 01:50:28 +03:00
parent 5d06529c92
commit 0677060429
24 changed files with 86 additions and 47 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ namespace West.TelegramBot.StickerTools;
public class Handler : BotEventHandler
{
[Command(InChat.All, "png", CommandParseMode.Both)]
[Command("png", CommandParseMode.Both)]
public async Task Sticker2Png()
{
var sticker = RawUpdate.Message?.ReplyToMessage?.Sticker;