ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.types.gifts
/
OwnedGift
Owned
Gift
@
Serializable
(
with
=
OwnedGift.Companion::class
)
sealed
interface
OwnedGift
Inheritors
OwnedByBusinessAccount
Common
Regular
Unique
Members
Types
Common
Link copied to clipboard
@
Serializable
(
with
=
OwnedGift.Companion::class
)
sealed
interface
Common
:
OwnedGift
Companion
Link copied to clipboard
object
Companion
:
KSerializer
<
OwnedGift
>
Owned
By
Business
Account
Link copied to clipboard
@
Serializable
(
with
=
OwnedGift.Companion::class
)
sealed
interface
OwnedByBusinessAccount
:
OwnedGift
Regular
Link copied to clipboard
@
Serializable
(
with
=
OwnedGift.Regular.Companion::class
)
sealed
interface
Regular
:
OwnedGift
,
TextedInput
Unique
Link copied to clipboard
@
Serializable
(
with
=
OwnedGift.Unique.Companion::class
)
sealed
interface
Unique
:
OwnedGift
Properties
gift
Link copied to clipboard
abstract
val
gift
:
Gift
is
Saved
Link copied to clipboard
abstract
val
isSaved
:
Boolean
owned
Gift
Id
Link copied to clipboard
abstract
val
ownedGiftId
:
GiftId
?
send
Date
Link copied to clipboard
abstract
val
sendDate
:
TelegramDate
sender
User
Link copied to clipboard
abstract
val
senderUser
:
PreviewUser
?