docs

# CommonSendInvoiceData

interface CommonSendInvoiceData : Titled, Currencied, Priced
Content copied to clipboard

## Functions

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

## Properties

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

## Inheritors

SendInvoice
Link copied to clipboard
InputInvoiceMessageContent
Link copied to clipboard

## Extensions

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