Files
telegram-bot/modules/ContentStore/Model/RandomMedia.cs
T
2023-01-02 20:13:41 +02:00

18 lines
389 B
C#

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