toggle menu
sdkKIMCore
androidJvm
switch theme
search in API
sdkKIMCore
/
com.kingsoft.kim.core.api.content
/
KIMCoreTextMessage
KIMCore
Text
Message
class
KIMCoreTextMessage
:
KIMCoreMessageContent
纯文本消息类型
Members
Constructors
KIMCore
Text
Message
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
content
Type
Link copied to clipboard
@
SerializedName
(
value
=
"content_type"
)
val
contentType
:
<Error class: unknown class>
extra
Link copied to clipboard
@
JvmField
@
SerializedName
(
value
=
"extra"
)
var
extra
:
String
tag
Link copied to clipboard
@
JvmField
@
SerializedName
(
value
=
"tag"
)
var
tag
:
String
text
Link copied to clipboard
@
JvmField
@
SerializedName
(
value
=
"text"
)
var
text
:
String
文本内容
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
o
:
Any
?
)
:
Boolean
get
Extra
Link copied to clipboard
fun
getExtra
(
)
:
String
get
Tag
Link copied to clipboard
fun
getTag
(
)
:
String
get
Text
Link copied to clipboard
fun
getText
(
)
:
String
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
set
Extra
Link copied to clipboard
fun
setExtra
(
extra
:
String
?
)
set
Tag
Link copied to clipboard
fun
setTag
(
tag
:
String
?
)
set
Text
Link copied to clipboard
fun
setText
(
text
:
String
?
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
type
Link copied to clipboard
open
override
fun
type
(
)
:
<Error class: unknown class>
user
Ids
Link copied to clipboard
open
override
fun
userIds
(
)
:
List
<
String
>