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:
@@ -25,7 +25,7 @@ public abstract class AbstractKittiesService : IRandomMediaService
|
||||
var response = await _api.GetKittiesImageAsync(VideoType);
|
||||
|
||||
return new RandomMedia(
|
||||
new InputFile(response.Content),
|
||||
new InputFileStream(response.Content),
|
||||
new HtmlString().Url(response.Source, response.Title).ToString(),
|
||||
true
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user