mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
18 lines
377 B
C#
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;
|
||
|
|
}
|