CommonSendInvoiceData

interface CommonSendInvoiceData : Titled, Currencied, Priced

Functions

setPhoto
Link copied to clipboard
abstract fun setPhoto(photoUrl: String, photoSize: Long? = null, photoWidth: Int? = null, photoHeight: Int? = null)
unsetPhoto
Link copied to clipboard
abstract fun unsetPhoto()

Properties

currency
Link copied to clipboard
abstract val currency: Currency
description
Link copied to clipboard
abstract val description: String
maxTipAmount
Link copied to clipboard
abstract val maxTipAmount: Int?
payload
Link copied to clipboard
abstract val payload: String
photoHeight
Link copied to clipboard
abstract val photoHeight: Int?
photoSize
Link copied to clipboard
abstract val photoSize: Long?
photoUrl
Link copied to clipboard
abstract val photoUrl: String?
photoWidth
Link copied to clipboard
abstract val photoWidth: Int?
priceDependOnShipAddress
Link copied to clipboard
abstract val priceDependOnShipAddress: Boolean
prices
Link copied to clipboard
abstract val prices: List<LabeledPrice>
providerData
Link copied to clipboard
abstract val providerData: String?
providerToken
Link copied to clipboard
abstract val providerToken: String
requireEmail
Link copied to clipboard
abstract val requireEmail: Boolean
requireName
Link copied to clipboard
abstract val requireName: Boolean
requirePhoneNumber
Link copied to clipboard
abstract val requirePhoneNumber: Boolean
requireShippingAddress
Link copied to clipboard
abstract val requireShippingAddress: Boolean
shouldSendEmailToProvider
Link copied to clipboard
abstract val shouldSendEmailToProvider: Boolean
shouldSendPhoneNumberToProvider
Link copied to clipboard
abstract val shouldSendPhoneNumberToProvider: Boolean
suggestedTipAmounts
Link copied to clipboard
abstract val suggestedTipAmounts: List<Int>?
title
Link copied to clipboard
abstract val title: String?

Inheritors

SendInvoice
Link copied to clipboard
InputInvoiceMessageContent
Link copied to clipboard

Extensions

asInputInvoiceMessageContent
Link copied to clipboard
asSendInvoice
Link copied to clipboard
inline fun CommonSendInvoiceData.asSendInvoice(): SendInvoice?
requireInputInvoiceMessageContent
Link copied to clipboard
requireVoiceChatParticipantsInvited
Link copied to clipboard
whenInputInvoiceMessageContent
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenInputInvoiceMessageContent(block: (InputInvoiceMessageContent) -> T): T?
whenSendInvoice
Link copied to clipboard
inline fun <T> CommonSendInvoiceData.whenSendInvoice(block: (SendInvoice) -> T): T?