move to correct directory

This commit is contained in:
2024-05-29 01:49:53 +03:00
parent db5cd93977
commit 615e39b326
17 changed files with 2 additions and 2 deletions
@@ -0,0 +1,20 @@
using Kruzya.TelegramBot.CustomChatAddOns.Data.InputFile;
using Newtonsoft.Json;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace Kruzya.TelegramBot.CustomChatAddOns.Data.WebhookCommand
{
public class PhotoReplyMessage : BaseReplyMessage, IWebhookCommand
{
[JsonProperty("photo")]
public ICustomInputFile Photo { get; set; }
public async Task Execute(ITelegramBotClient botClient, Message message)
{
await botClient.SendPhotoAsync(message.Chat.Id, Photo.Convert(),
caption: Content, parseMode: ParseMode,
disableNotification: DisableNotification);
}
}
}