MessageDelta
open class MessageDelta(val attachments: Optional<Set<Attachment>>, val content: Optional<String>, val editedTimestamp: Optional<Instant?>, val embeds: Optional<List<Embed>>, val isPinned: Optional<Boolean>, val mentionedChannelIds: Optional<Set<Snowflake>>, val mentionedRoleIds: Optional<Set<Snowflake>>, val mentionedUserIds: Optional<Set<Snowflake>>, val mentionsEveryone: Optional<Boolean>, val reactions: Optional<Set<Reaction>>, val stickers: Optional<List<StickerItem>>)
Represents the difference between two Kord Message objects.
This is intended for use with events that change things, to make logging easier - but may have other applications. All properties available on this object have the same names as the corresponding properties on the Message object.
Optionals will be Optional.Missing if there was no change - otherwise they'll contain the value from the new Message.
Constructors
Link copied to clipboard
constructor(attachments: Optional<Set<Attachment>>, content: Optional<String>, editedTimestamp: Optional<Instant?>, embeds: Optional<List<Embed>>, isPinned: Optional<Boolean>, mentionedChannelIds: Optional<Set<Snowflake>>, mentionedRoleIds: Optional<Set<Snowflake>>, mentionedUserIds: Optional<Set<Snowflake>>, mentionsEveryone: Optional<Boolean>, reactions: Optional<Set<Reaction>>, stickers: Optional<List<StickerItem>>)