toggle menu
Simple Robot 组件 | Telegram
0.0.12
common
switch theme
search in API
simbot-component-telegram-type
/
love.forte.simbot.telegram.type
/
ChatType
/
Companion
Companion
object
Companion
(
source
)
Members
Properties
chat
Type
Link copied to clipboard
@get:
JvmName
(
name
=
"ofChat"
)
@get:
JvmStatic
val
Chat
.
chatType
:
ChatType
Get from
Chat
.
chat
Type
Or
Null
Link copied to clipboard
@get:
JvmName
(
name
=
"ofChatOrNull"
)
@get:
JvmStatic
val
Chat
.
chatTypeOrNull
:
ChatType
?
Get from
Chat
or null.
Functions
of
Chat
Type
Value
Link copied to clipboard
@
JvmStatic
fun
ofChatTypeValue
(
value
:
String
)
:
ChatType
Get from
Chat.type
.
of
Chat
Type
Value
Or
Null
Link copied to clipboard
@
JvmStatic
fun
ofChatTypeValueOrNull
(
value
:
String
)
:
ChatType
?
Get from
Chat.type
.