mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-19 14:53:48 +00:00
24 lines
3.7 KiB
Markdown
24 lines
3.7 KiB
Markdown
|
//[docs](../../../index.md)/[dev.inmo.tgbotapi.requests.send.payments](../index.md)/[SendInvoice](index.md)/[SendInvoice](-send-invoice.md)
|
||
|
|
||
|
|
||
|
|
||
|
# SendInvoice
|
||
|
[common]
|
||
|
Content
|
||
|
fun [SendInvoice](-send-invoice.md)(chatId: [ChatId](../../dev.inmo.tgbotapi.types/-chat-id/index.md), title: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), description: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), payload: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), providerToken: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), startParameter: [StartParameter](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FStartParameter%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), currency: [Currency](../../dev.inmo.tgbotapi.types.payments.abstracts/index.md#%5Bdev.inmo.tgbotapi.types.payments.abstracts%2FCurrency%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), prices: [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[LabeledPrice](../../dev.inmo.tgbotapi.types.payments/-labeled-price/index.md)>, providerData: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, requireName: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, requirePhoneNumber: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, requireEmail: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, requireShippingAddress: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, shouldSendPhoneNumberToProvider: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, shouldSendEmailToProvider: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, priceDependOnShipAddress: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, replyToMessageId: [MessageIdentifier](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)? = null, allowSendingWithoutReply: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)? = null, replyMarkup: [InlineKeyboardMarkup](../../dev.inmo.tgbotapi.types.buttons/-inline-keyboard-markup/index.md)? = null)
|
||
|
More info
|
||
|
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
common
|
||
|
|
||
|
| | |
|
||
|
|---|---|
|
||
|
| <a name="dev.inmo.tgbotapi.requests.send.payments/SendInvoice/SendInvoice/#dev.inmo.tgbotapi.types.ChatId#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.collections.List[dev.inmo.tgbotapi.types.payments.LabeledPrice]#kotlin.String?#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Long?#kotlin.Boolean?#dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup?/PointingToDeclaration/"></a>providerData| <a name="dev.inmo.tgbotapi.requests.send.payments/SendInvoice/SendInvoice/#dev.inmo.tgbotapi.types.ChatId#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.String#kotlin.collections.List[dev.inmo.tgbotapi.types.payments.LabeledPrice]#kotlin.String?#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Boolean#kotlin.Long?#kotlin.Boolean?#dev.inmo.tgbotapi.types.buttons.InlineKeyboardMarkup?/PointingToDeclaration/"></a><ul><li>JSON-ENCODED FIELD</li></ul>|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|