mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix: build and lots of obsolete warnings
This commit is contained in:
@@ -5,14 +5,14 @@ namespace West.TelegramBot.ContentStore.Model;
|
||||
|
||||
public class RandomMedia
|
||||
{
|
||||
public RandomMedia(IInputFile file, string? caption = null, bool nsfw = false)
|
||||
public RandomMedia(InputFile file, string? caption = null, bool nsfw = false)
|
||||
{
|
||||
File = file;
|
||||
Caption = caption;
|
||||
Nsfw = nsfw;
|
||||
}
|
||||
|
||||
public IInputFile File;
|
||||
public InputFile File;
|
||||
public string? Caption;
|
||||
public bool Nsfw;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user