Send Invoice
data class SendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int?, suggestedTipAmounts: List<Int>?, startParameter: StartParameter?, providerData: String?, requireName: Boolean, requirePhoneNumber: Boolean, requireEmail: Boolean, requireShippingAddress: Boolean, shouldSendPhoneNumberToProvider: Boolean, shouldSendEmailToProvider: Boolean, priceDependOnShipAddress: Boolean, disableNotification: Boolean, protectContent: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: InlineKeyboardMarkup?) : CommonSendInvoiceData, ChatRequest, DisableNotification, ReplyMessageId, ReplyMarkup, SendMessageRequest<ContentMessage<InvoiceContent>>
Content copied to clipboard
Parameters
provider Data
JSON-ENCODED FIELD
Constructors
SendInvoice
Link copied to clipboard
fun SendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, currency: Currency, prices: List<LabeledPrice>, maxTipAmount: Int? = null, suggestedTipAmounts: List<Int>? = null, startParameter: StartParameter? = null, 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, protectContent: Boolean = false, replyToMessageId: MessageIdentifier? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: InlineKeyboardMarkup? = null)
Content copied to clipboard
Functions
Properties
allowSendingWithoutReply
Link copied to clipboard
description
Link copied to clipboard
disableNotification
Link copied to clipboard
maxTipAmount
Link copied to clipboard
photoHeight
Link copied to clipboard
photoWidth
Link copied to clipboard
priceDependOnShipAddress
Link copied to clipboard
prices
Link copied to clipboard
protectContent
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
suggestedTipAmounts
Link copied to clipboard