toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.payments
/
AffiliateInfo
Affiliate
Info
@
Serializable
data
class
AffiliateInfo
(
val
commissionPerMille
:
Int
,
val
amount
:
Long
,
val
nanostarAmount
:
Long
,
val
affiliateUser
:
User
?
=
null
,
val
affiliateChat
:
PreviewChat
?
=
null
)
:
Amounted
Members
Constructors
Affiliate
Info
Link copied to clipboard
constructor
(
commissionPerMille
:
Int
,
amount
:
Long
,
nanostarAmount
:
Long
,
affiliateUser
:
User
?
=
null
,
affiliateChat
:
PreviewChat
?
=
null
)
Properties
adapted
Majority
Total
Amount
Link copied to clipboard
open
val
adaptedMajorityTotalAmount
:
Double
affiliate
Chat
Link copied to clipboard
@
SerialName
(
value
=
"affiliate_chat"
)
val
affiliateChat
:
PreviewChat
?
=
null
affiliate
User
Link copied to clipboard
@
SerialName
(
value
=
"affiliate_user"
)
val
affiliateUser
:
User
?
=
null
amount
Link copied to clipboard
@
SerialName
(
value
=
"amount"
)
open
override
val
amount
:
Long
commission
Per
Mille
Link copied to clipboard
@
SerialName
(
value
=
"commission_per_mille"
)
val
commissionPerMille
:
Int
nanostar
Amount
Link copied to clipboard
@
SerialName
(
value
=
"nanostar_amount"
)
val
nanostarAmount
:
Long