CommonSendInvoiceData

interface CommonSendInvoiceData : Titled, Currencied, Priced

Functions

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

Properties

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

Inheritors

SendInvoice
Link copied to clipboard
InputInvoiceMessageContent
Link copied to clipboard

Extensions

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