fix(store): incorrect method call (SendVideo -> SendPhoto)

This commit is contained in:
Andriy
2025-02-09 19:06:41 +02:00
parent 50774e1af6
commit 226a15cb1e
+1 -1
View File
@@ -141,7 +141,7 @@ public class Store : CommonHandler
switch (randomMedia.Type) switch (randomMedia.Type)
{ {
case InputMediaType.Photo: case InputMediaType.Photo:
await Bot.SendVideo(Chat.Id, file, await Bot.SendPhoto(Chat.Id, file,
caption: randomMedia.Caption, caption: randomMedia.Caption,
replyParameters: messageId, replyParameters: messageId,
parseMode: ParseMode.Html, parseMode: ParseMode.Html,