ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.types.reactions
/
Reaction
Reaction
@
Serializable
(
with
=
Reaction.Companion::class
)
sealed
interface
Reaction
Inheritors
Emoji
CustomEmoji
Paid
Unknown
Members
Types
Companion
Link copied to clipboard
object
Companion
:
KSerializer
<
Reaction
>
Custom
Emoji
Link copied to clipboard
@
Serializable
(
with
=
Reaction.Companion::class
)
@
JvmInline
value
class
CustomEmoji
(
val
customEmojiId
:
CustomEmojiId
)
:
Reaction
Emoji
Link copied to clipboard
@
Serializable
(
with
=
Reaction.Companion::class
)
@
JvmInline
value
class
Emoji
(
val
emoji
:
String
)
:
Reaction
Paid
Link copied to clipboard
@
Serializable
(
with
=
Reaction.Companion::class
)
data
object
Paid
:
Reaction
Unknown
Link copied to clipboard
@
Serializable
(
with
=
Reaction.Companion::class
)
data
class
Unknown
(
val
type
:
String
,
val
sourceJson
:
JsonElement
?
)
:
Reaction
Properties
type
Link copied to clipboard
abstract
val
type
:
String