Send Invoice
data class SendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, startParameter: StartParameter, currency: Currency, prices: List<LabeledPrice>, providerData: String?, requireName: Boolean, requirePhoneNumber: Boolean, requireEmail: Boolean, requireShippingAddress: Boolean, shouldSendPhoneNumberToProvider: Boolean, shouldSendEmailToProvider: Boolean, priceDependOnShipAddress: Boolean, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: InlineKeyboardMarkup?) : Currencied, Priced, ChatRequest, DisableNotification, ReplyMessageId, ReplyMarkup, SendMessageRequest<ContentMessage<InvoiceContent>>
Content copied to clipboard
Parameters
providerData
JSON-ENCODED FIELD
Constructors
SendInvoice
Link copied to clipboard
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)
Content copied to clipboard
JSON-ENCODED FIELD
Functions
Properties
allowSendingWithoutReply
Link copied to clipboard
description
Link copied to clipboard
disableNotification
Link copied to clipboard
photoHeight
Link copied to clipboard
photoWidth
Link copied to clipboard
priceDependOnShipAddress
Link copied to clipboard
prices
Link copied to clipboard
providerData
Link copied to clipboard
providerToken
Link copied to clipboard
replyMarkup
Link copied to clipboard
replyToMessageId
Link copied to clipboard
requestSerializer
Link copied to clipboard
requireEmail
Link copied to clipboard
requireName
Link copied to clipboard
requirePhoneNumber
Link copied to clipboard
requireShippingAddress
Link copied to clipboard
resultDeserializer
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ContentMessage<InvoiceContent>>
Content copied to clipboard
shouldSendEmailToProvider
Link copied to clipboard
shouldSendPhoneNumberToProvider
Link copied to clipboard
startParameter
Link copied to clipboard