toggle menu
onebot-v12-lib
jvm
switch theme
search in API
onebot-v12-lib
/
cn.qfys521.onebot.v12.lib.model
/
SendMessageRequest
Send
Message
Request
@
Serializable
data
class
SendMessageRequest
(
val
detailType
:
String
,
val
userId
:
String
?
=
null
,
val
groupId
:
String
?
=
null
,
val
guildId
:
String
?
=
null
,
val
channelId
:
String
?
=
null
,
val
message
:
List
<
Segment
>
)
Unified
send_message
request payload.
Members
Constructors
Send
Message
Request
Link copied to clipboard
constructor
(
detailType
:
String
,
userId
:
String
?
=
null
,
groupId
:
String
?
=
null
,
guildId
:
String
?
=
null
,
channelId
:
String
?
=
null
,
message
:
List
<
Segment
>
)
Properties
channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"channel_id"
)
val
channelId
:
String
?
=
null
detail
Type
Link copied to clipboard
@
SerialName
(
value
=
"detail_type"
)
val
detailType
:
String
group
Id
Link copied to clipboard
@
SerialName
(
value
=
"group_id"
)
val
groupId
:
String
?
=
null
guild
Id
Link copied to clipboard
@
SerialName
(
value
=
"guild_id"
)
val
guildId
:
String
?
=
null
message
Link copied to clipboard
val
message
:
List
<
Segment
>
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
String
?
=
null