toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message
/
MessageOrigin
/
Public
/
Channel
Channel
@
Serializable
data
class
Channel
(
val
chat
:
ChannelChat
,
val
messageId
:
MessageId
,
val
date
:
TelegramDate
,
val
authorSignature
:
AuthorSignature
?
=
null
)
:
MessageOrigin.Public
Members
Members & Extensions
Constructors
Channel
Link copied to clipboard
constructor
(
chat
:
ChannelChat
,
messageId
:
MessageId
,
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
=
"chat"
)
open
override
val
chat
:
ChannelChat
date
Link copied to clipboard
@
SerialName
(
value
=
"date"
)
open
override
val
date
:
TelegramDate
message
Id
Link copied to clipboard
@
SerialName
(
value
=
"message_id"
)
val
messageId
:
MessageId
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
?