toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message
/
MessageOrigin
Message
Origin
@
Serializable
(
with
=
MessageOrigin.Companion::class
)
sealed
interface
MessageOrigin
Inheritors
User
HiddenUser
Public
Unknown
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
:
KSerializer
<
MessageOrigin
>
Hidden
User
Link copied to clipboard
@
Serializable
data
class
HiddenUser
(
val
name
:
String
,
val
date
:
TelegramDate
)
:
MessageOrigin
Public
Link copied to clipboard
@
Serializable
(
with
=
MessageOrigin.Companion::class
)
sealed
interface
Public
:
MessageOrigin
Unknown
Link copied to clipboard
@
Serializable
data
class
Unknown
:
MessageOrigin
User
Link copied to clipboard
@
Serializable
data
class
User
(
val
user
:
User
,
val
date
:
TelegramDate
)
:
MessageOrigin
Properties
date
Link copied to clipboard
abstract
val
date
:
TelegramDate
type
Link copied to clipboard
abstract
val
type
:
String
Functions
forward
Info
Link copied to clipboard
fun
MessageOrigin
.
forwardInfo
(
)
:
ForwardInfo
?