Input Invoice Message Content
data class InputInvoiceMessageContent(title: String, description: String, payload: String, provider_token: String, currency: String, prices: List<LabeledPrice>, max_tip_amount: Long?, suggested_tip_amounts: List<Long>?, provider_data: String?, photo_url: String?, photo_size: Long?, photo_width: Long?, photo_height: Long?, need_name: Boolean?, need_phone_number: Boolean?, need_email: Boolean?, need_shipping_address: Boolean?, send_phone_number_to_provider: Boolean?, send_email_to_provider: Boolean?, is_flexible: Boolean?) : TelegramModel
Content copied to clipboard
Represents the content of an invoice message to be sent as the result of an inline query.
Constructors
InputInvoiceMessageContent
Link copied to clipboard
fun InputInvoiceMessageContent(title: String, description: String, payload: String, provider_token: String, currency: String, prices: List<LabeledPrice>, max_tip_amount: Long? = null, suggested_tip_amounts: List<Long>? = null, provider_data: String? = null, photo_url: String? = null, photo_size: Long? = null, photo_width: Long? = null, photo_height: Long? = null, need_name: Boolean? = null, need_phone_number: Boolean? = null, need_email: Boolean? = null, need_shipping_address: Boolean? = null, send_phone_number_to_provider: Boolean? = null, send_email_to_provider: Boolean? = null, is_flexible: Boolean? = null)
Content copied to clipboard
Creates a InputInvoiceMessageContent.
Properties
currency
Link copied to clipboard
Three-letter ISO 4217 currency code, see more on currencies
description
Link copied to clipboard
is_flexible
Link copied to clipboard
max_tip_amount
Link copied to clipboard
need_email
Link copied to clipboard
need_phone_number
Link copied to clipboard
need_shipping_address
Link copied to clipboard
photo_height
Link copied to clipboard
photo_size
Link copied to clipboard
photo_width
Link copied to clipboard
prices
Link copied to clipboard
provider_data
Link copied to clipboard
provider_token
Link copied to clipboard
Payment provider token, obtained via
send_email_to_provider
Link copied to clipboard
send_phone_number_to_provider
Link copied to clipboard
suggested_tip_amounts
Link copied to clipboard