Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Telegram.Bot does not support ReplyKeyboardMarkup with SendInvoiceAsync method #1197

Closed
MaksymShuldiner opened this issue Jan 21, 2023 · 0 comments

Comments

@MaksymShuldiner
Copy link

public static async Task<Message> SendInvoiceAsync( this ITelegramBotClient botClient, long chatId, string title, string description, string payload, string providerToken, string currency, IEnumerable<LabeledPrice> prices, int? messageThreadId = default, int? maxTipAmount = default, IEnumerable<int>? suggestedTipAmounts = default, string? startParameter = default, string? providerData = default, string? photoUrl = default, int? photoSize = default, int? photoWidth = default, int? photoHeight = default, bool? needName = default, bool? needPhoneNumber = default, bool? needEmail = default, bool? needShippingAddress = default, bool? sendPhoneNumberToProvider = default, bool? sendEmailToProvider = default, bool? isFlexible = default, bool? disableNotification = default, bool? protectContent = default, int? replyToMessageId = default, bool? allowSendingWithoutReply = default, InlineKeyboardMarkup? replyMarkup = default, CancellationToken cancellationToken = default

I'm wondering why Telegram.Bot does not support ReplyKeyboardMarkup with SendInvoiceAsync method. The argument type is InlineKeyboardMarkup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant