diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.interaction.callback
/
UpdateMessage
Update
Message
@
Serializable
@
SerialName
(
value
=
"7"
)
data
class
UpdateMessage
(
val
data
:
UpdateMessage.Data
)
:
InteractionResponse
(
source
)
Only for modals
Members
Constructors
Update
Message
Link copied to clipboard
constructor
(
data
:
UpdateMessage.Data
)
Types
Data
Link copied to clipboard
@
Serializable
data
class
Data
(
val
tts
:
Boolean
=
false
,
val
content
:
String
?
=
null
,
val
embeds
:
List
<
Embed
>
=
emptyList()
,
val
allowedMentions
:
AllowedMentions
?
=
null
,
val
flags
:
InteractionCommandCallbackDataFlags
=
InteractionCommandCallbackDataFlags.NONE
,
val
components
:
List
<
Message
>
=
emptyList()
,
val
attachments
:
List
<
Attachment
>
=
emptyList()
)
Properties
data
Link copied to clipboard
val
data
:
UpdateMessage.Data
type
Link copied to clipboard
val
type
:
Int
=
7