mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] Basic content store implementation.
- Bump Telegram Bot Framework to 0.6.9-gf1e77653ff
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user