mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
fix(store): incorrect method call (SendVideo -> SendPhoto)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user