KtGram
Toggle table of contents
8.4.1
common
Platform filter
common
Switch theme
Search in API
KtGram
telegram-bot
/
eu.vendeli.tgbot.types.component
/
MessageUpdate
Message
Update
@
Serializable
(
with
=
MessageUpdate.Companion::class
)
data
class
MessageUpdate
(
val
updateId
:
Int
,
val
origin
:
Update
,
val
message
:
Message
)
:
ProcessedUpdate
,
UserReference
,
ChatReference
(
source
)
Members
Members & Extensions
Constructors
Message
Update
Link copied to clipboard
constructor
(
updateId
:
Int
,
origin
:
Update
,
message
:
Message
)
Properties
chat
Link copied to clipboard
open
override
val
chat
:
Chat
chat
Or
Null
Link copied to clipboard
val
ProcessedUpdate
.
chatOrNull
:
Chat
?
message
Link copied to clipboard
val
message
:
Message
origin
Link copied to clipboard
open
override
val
origin
:
Update
text
Link copied to clipboard
open
override
val
text
:
String
update
Id
Link copied to clipboard
open
override
val
updateId
:
Int
user
Link copied to clipboard
open
override
val
user
:
User
user
Or
Null
Link copied to clipboard
val
ProcessedUpdate
.
userOrNull
:
User
?
Functions
_
get
Ctx
Value
Link copied to clipboard
fun
ProcessedUpdate
.
_getCtxValue
(
key
:
ProcessingCtxKey
)
:
Any
?
_
get
Parsed
Parameters
Link copied to clipboard
fun
ProcessedUpdate
.
_getParsedParameters
(
)
:
Map
<
String
,
String
>
?
_
get
Regex
Match
Link copied to clipboard
fun
ProcessedUpdate
.
_getRegexMatch
(
)
:
MatchResult
?
get
Chat
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getChat
(
)
:
Chat
get
User
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getUser
(
)
:
User