toggle menu
Telegram Bot
7.3.1
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal
/
PurchasedPaidMediaUpdate
Purchased
Paid
Media
Update
@
Serializable
(
with
=
PurchasedPaidMediaUpdate.Companion::class
)
data
class
PurchasedPaidMediaUpdate
(
val
updateId
:
Int
,
val
origin
:
Update
,
val
purchasedPaidMedia
:
PaidMediaPurchased
)
:
ProcessedUpdate
,
UserReference
,
TextReference
Members
Members & Extensions
Constructors
Purchased
Paid
Media
Update
Link copied to clipboard
constructor
(
updateId
:
Int
,
origin
:
Update
,
purchasedPaidMedia
:
PaidMediaPurchased
)
Properties
origin
Link copied to clipboard
open
override
val
origin
:
Update
purchased
Paid
Media
Link copied to clipboard
val
purchasedPaidMedia
:
PaidMediaPurchased
text
Link copied to clipboard
open
override
val
text
:
String
update
Id
Link copied to clipboard
open
override
val
updateId
:
Int
user
Link copied to clipboard
open
override
val
user
:
User
user
Or
Null
Link copied to clipboard
val
ProcessedUpdate
.
userOrNull
:
User
?
Functions
get
User
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getUser
(
)
:
User