1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-19 06:43:49 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.send.payments/-send-invoice/-send-invoice.md
2021-03-17 15:18:37 +00:00

3.7 KiB

//docs/dev.inmo.tgbotapi.requests.send.payments/SendInvoice/SendInvoice

SendInvoice

[common]
Content
fun SendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, startParameter: StartParameter, currency: Currency, prices: List<LabeledPrice>, providerData: String? = null, requireName: Boolean = false, requirePhoneNumber: Boolean = false, requireEmail: Boolean = false, requireShippingAddress: Boolean = false, shouldSendPhoneNumberToProvider: Boolean = false, shouldSendEmailToProvider: Boolean = false, priceDependOnShipAddress: Boolean = false, disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null)
More info

Parameters

common

providerData
  • JSON-ENCODED FIELD