toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.payments.stars
/
TransactionPartner
/
AffiliateProgram
Affiliate
Program
@
Serializable
(
with
=
TransactionPartner.Companion::class
)
data
class
AffiliateProgram
(
val
sponsorUser
:
PreviewBot
?
,
val
commissionPerMille
:
Int
)
:
TransactionPartner
Represents
TransactionPartnerAffiliateProgram
Members
Constructors
Affiliate
Program
Link copied to clipboard
constructor
(
sponsorUser
:
PreviewBot
?
,
commissionPerMille
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
commission
Per
Mille
Link copied to clipboard
@
SerialName
(
value
=
"commission_per_mille"
)
val
commissionPerMille
:
Int
sponsor
User
Link copied to clipboard
@
SerialName
(
value
=
"sponsor_user"
)
val
sponsorUser
:
PreviewBot
?
type
Link copied to clipboard
@
EncodeDefault
open
override
val
type
:
String