From 226a15cb1eb1c7567237437eb68748d422dcc091 Mon Sep 17 00:00:00 2001 From: Andriy <30056636+West14@users.noreply.github.com> Date: Sun, 9 Feb 2025 19:06:41 +0200 Subject: [PATCH] fix(store): incorrect method call (SendVideo -> SendPhoto) --- modules/ContentStore/Handler/Store.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ContentStore/Handler/Store.cs b/modules/ContentStore/Handler/Store.cs index bcbb8ff..f7aadf2 100644 --- a/modules/ContentStore/Handler/Store.cs +++ b/modules/ContentStore/Handler/Store.cs @@ -141,7 +141,7 @@ public class Store : CommonHandler switch (randomMedia.Type) { case InputMediaType.Photo: - await Bot.SendVideo(Chat.Id, file, + await Bot.SendPhoto(Chat.Id, file, caption: randomMedia.Caption, replyParameters: messageId, parseMode: ParseMode.Html,