mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] refactor, add new purchasables
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
using Telegram.Bot.Types;
|
||||
using Telegram.Bot.Types.Enums;
|
||||
using Telegram.Bot.Types.Enums;
|
||||
using Telegram.Bot.Types.InputFiles;
|
||||
|
||||
namespace West.TelegramBot.ContentStore.Model;
|
||||
|
||||
public class RandomMedia
|
||||
{
|
||||
public RandomMedia(string url, string? caption = null)
|
||||
public RandomMedia(InputOnlineFile file, string? caption = null)
|
||||
{
|
||||
Url = url;
|
||||
File = file;
|
||||
Caption = caption;
|
||||
}
|
||||
|
||||
public string Url;
|
||||
public InputOnlineFile File;
|
||||
public string? Caption;
|
||||
|
||||
public InputMediaType Type { get; set; } = InputMediaType.Photo;
|
||||
|
||||
Reference in New Issue
Block a user