toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.stars
/
TransactionPartner
/
UserPartner
User
Partner
@
Serializable
@
SerialName
(
value
=
"user"
)
data
class
UserPartner
(
val
user
:
User
,
val
invoicePayload
:
String
?
=
null
,
val
paidMedia
:
List
<
PaidMedia
>
?
=
null
,
val
paidMediaPayload
:
String
?
=
null
,
val
subscriptionPeriod
:
Duration
?
=
null
,
val
gift
:
String
?
=
null
)
:
TransactionPartner
Members
Constructors
User
Partner
Link copied to clipboard
constructor
(
user
:
User
,
invoicePayload
:
String
?
=
null
,
paidMedia
:
List
<
PaidMedia
>
?
=
null
,
paidMediaPayload
:
String
?
=
null
,
subscriptionPeriod
:
Duration
?
=
null
,
gift
:
String
?
=
null
)
Properties
gift
Link copied to clipboard
val
gift
:
String
?
=
null
invoice
Payload
Link copied to clipboard
val
invoicePayload
:
String
?
=
null
paid
Media
Link copied to clipboard
val
paidMedia
:
List
<
PaidMedia
>
?
=
null
paid
Media
Payload
Link copied to clipboard
val
paidMediaPayload
:
String
?
=
null
subscription
Period
Link copied to clipboard
@
Serializable
(
with
=
DurationSerializer::class
)
val
subscriptionPeriod
:
Duration
?
=
null
type
Link copied to clipboard
val
type
:
String
user
Link copied to clipboard
val
user
:
User