toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message.payments
/
PaidMedia
/
Photo
Photo
@
Serializable
data
class
Photo
(
val
photo
:
PhotoFile
)
:
PaidMedia
Members
Members & Extensions
Constructors
Photo
Link copied to clipboard
constructor
(
photo
:
PhotoFile
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
photo
Link copied to clipboard
@
SerialName
(
value
=
"photo"
)
val
photo
:
PhotoFile
type
Link copied to clipboard
@
EncodeDefault
@
SerialName
(
value
=
"type"
)
open
override
val
type
:
String
Functions
to
Telegram
Media
Photo
Link copied to clipboard
fun
PaidMedia.Photo
.
toTelegramMediaPhoto
(
)
:
TelegramPaidMediaPhoto
to
Telegram
Paid
Media
Or
Null
Link copied to clipboard
fun
PaidMedia
.
toTelegramPaidMediaOrNull
(
)
:
TelegramPaidMedia
?