KtGram
Toggle table of contents
8.4.1
common
Platform filter
common
Switch theme
Search in API
KtGram
telegram-bot
/
eu.vendeli.tgbot.types.component
/
PurchasedPaidMediaUpdate
Purchased
Paid
Media
Update
@
Serializable
(
with
=
PurchasedPaidMediaUpdate.Companion::class
)
data
class
PurchasedPaidMediaUpdate
(
val
updateId
:
Int
,
val
origin
:
Update
,
val
purchasedPaidMedia
:
PaidMediaPurchased
)
:
ProcessedUpdate
,
UserReference
(
source
)
Members
Members & Extensions
Constructors
Purchased
Paid
Media
Update
Link copied to clipboard
constructor
(
updateId
:
Int
,
origin
:
Update
,
purchasedPaidMedia
:
PaidMediaPurchased
)
Properties
chat
Or
Null
Link copied to clipboard
val
ProcessedUpdate
.
chatOrNull
:
Chat
?
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
Ctx
Value
Link copied to clipboard
fun
ProcessedUpdate
.
_getCtxValue
(
key
:
ProcessingCtxKey
)
:
Any
?
_
get
Parsed
Parameters
Link copied to clipboard
fun
ProcessedUpdate
.
_getParsedParameters
(
)
:
Map
<
String
,
String
>
?
_
get
Regex
Match
Link copied to clipboard
fun
ProcessedUpdate
.
_getRegexMatch
(
)
:
MatchResult
?
get
Chat
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getChat
(
)
:
Chat
get
User
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getUser
(
)
:
User