telek
Toggle table of contents
0.4.0
common
Target filter
common
Switch theme
Search in API
Skip to content
telek
core
/
io.github.youndie.telek
/
Message
Message
data
class
Message
(
val
chatId
:
Long
,
val
text
:
String
)
:
Input
Members
Members & Extensions
Constructors
Message
Link copied to clipboard
constructor
(
chatId
:
Long
,
text
:
String
)
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
Long
text
Link copied to clipboard
val
text
:
String
Functions
as
Command
Link copied to clipboard
fun
Message
.
asCommand
(
)
:
Command
?
Parses
Message.text
as a command, or returns
null
when it is not one.