Files
telegram-bot/modules/ContentStore/Model/RandomMedia.cs
T
West14 e815deba58 [store] Basic content store implementation.
- Bump Telegram Bot Framework to 0.6.9-gf1e77653ff
2022-02-16 17:07:30 +02:00

18 lines
377 B
C#

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