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:
@@ -22,7 +22,7 @@ public class AnimBoobsService : AbstractNsfwService
|
||||
// https://bugs.telegram.org/c/23674 workaround
|
||||
var video = await _httpClient.GetStreamAsync($"https://westdev.me/_boobs/media/{fileName}");
|
||||
|
||||
return new RandomMedia(new InputFile(video, fileName))
|
||||
return new RandomMedia(new InputFileStream(video, fileName))
|
||||
{
|
||||
Type = InputMediaType.Video,
|
||||
Nsfw = true
|
||||
|
||||
Reference in New Issue
Block a user