toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message
/
MessageOrigin
/
Public
/
Sender
Sender
@
Serializable
data
class
Sender
(
val
chat
:
SuperPublicChat
,
val
date
:
TelegramDate
,
val
authorSignature
:
AuthorSignature
?
=
null
)
:
MessageOrigin.Public
Members
Members & Extensions
Constructors
Sender
Link copied to clipboard
constructor
(
chat
:
SuperPublicChat
,
date
:
TelegramDate
,
authorSignature
:
AuthorSignature
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
author
Signature
Link copied to clipboard
@
SerialName
(
value
=
"author_signature"
)
open
override
val
authorSignature
:
AuthorSignature
?
=
null
chat
Link copied to clipboard
@
SerialName
(
value
=
"sender_chat"
)
open
override
val
chat
:
SuperPublicChat
date
Link copied to clipboard
@
SerialName
(
value
=
"date"
)
open
override
val
date
:
TelegramDate
type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
@
Required
@
EncodeDefault
open
override
val
type
:
String
Functions
forward
Info
Link copied to clipboard
fun
MessageOrigin
.
forwardInfo
(
)
:
ForwardInfo
?