Fix: Compilation error - use correct PaymentMethodMenu name

Error: MenuBuilder.PaymentCurrencyMenu does not exist
Fix: Changed to MenuBuilder.PaymentMethodMenu (correct method name)

TeleBot now compiles successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
SysAdmin 2025-10-06 03:57:24 +01:00
parent 9e1bf0543f
commit 6676f010a8

View File

@ -1200,11 +1200,11 @@ namespace TeleBot.Handlers
await bot.EditMessageTextAsync(
message.Chat.Id,
message.MessageId,
$"💰 *Select Payment Method*\n\n" +
$"Order ID: {orderId.ToString().Substring(orderId.ToString().Length - 8).ToUpper()}\n\n" +
$"💰 *Retry Payment*\n\n" +
$"Order ID: #{orderId.ToString().Substring(orderId.ToString().Length - 8).ToUpper()}\n\n" +
$"Choose your preferred cryptocurrency:",
parseMode: Telegram.Bot.Types.Enums.ParseMode.Markdown,
replyMarkup: MenuBuilder.PaymentCurrencyMenu(currencies, orderId)
replyMarkup: MenuBuilder.PaymentMethodMenu(currencies)
);
}