mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Update to Telegram Bot Framework 2.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user