Files
telegram-bot/modules/ContentStore/Model/RandomMedia.cs
2025-02-09 17:41:13 +02:00

20 lines
449 B
C#

using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace West.TelegramBot.ContentStore.Model;
public class RandomMedia
{
public RandomMedia(InputFile file, string? caption = null, bool nsfw = false)
{
File = file;
Caption = caption;
Nsfw = nsfw;
}
public InputFile File;
public string? Caption;
public bool Nsfw;
public InputMediaType Type { get; set; } = InputMediaType.Photo;
}