toggle menu
onebot-v11-lib
jvm
switch theme
search in API
onebot-v11-lib
/
cn.qfys521.onebot.v11.lib.model
/
OneBotV11Event
/
HeartbeatMetaEvent
Heartbeat
Meta
Event
@
Serializable
data
class
HeartbeatMetaEvent
(
val
time
:
Long
,
val
selfId
:
Long
,
val
status
:
StatusInfo
,
val
interval
:
Int
,
val
postType
:
String
=
"meta_event"
,
val
metaEventType
:
String
=
"heartbeat"
)
:
OneBotV11Event
Members
Constructors
Heartbeat
Meta
Event
Link copied to clipboard
constructor
(
time
:
Long
,
selfId
:
Long
,
status
:
StatusInfo
,
interval
:
Int
,
postType
:
String
=
"meta_event"
,
metaEventType
:
String
=
"heartbeat"
)
Properties
interval
Link copied to clipboard
val
interval
:
Int
meta
Event
Type
Link copied to clipboard
@
SerialName
(
value
=
"meta_event_type"
)
val
metaEventType
:
String
post
Type
Link copied to clipboard
open
override
val
postType
:
String
self
Id
Link copied to clipboard
@
SerialName
(
value
=
"self_id"
)
open
override
val
selfId
:
Long
status
Link copied to clipboard
val
status
:
StatusInfo
time
Link copied to clipboard
open
override
val
time
:
Long