MessageUpdate

@Serializable
data class MessageUpdate(val id: String, val channelId: String, val author: User? = null, val content: String? = null, val sentAt: String? = null, val editedAt: String? = null, val isTTS: Boolean? = null, val mentionsEveryone: Boolean? = null, val usersMentioned: List<User> = emptyList(), val rolesIdsMentioned: List<String> = emptyList(), val attachments: List<Attachment> = emptyList(), val embeds: List<Embed> = emptyList(), val reactions: List<Reaction> = emptyList(), val validationNonce: String? = null, val isPinned: Boolean? = null, val webHookId: String? = null, val type: MessageType? = null, val activity: MessageActivity? = null, val application: MessageApplication? = null)(source)

Constructors

Link copied to clipboard
constructor(id: String, channelId: String, author: User? = null, content: String? = null, sentAt: String? = null, editedAt: String? = null, isTTS: Boolean? = null, mentionsEveryone: Boolean? = null, usersMentioned: List<User> = emptyList(), rolesIdsMentioned: List<String> = emptyList(), attachments: List<Attachment> = emptyList(), embeds: List<Embed> = emptyList(), reactions: List<Reaction> = emptyList(), validationNonce: String? = null, isPinned: Boolean? = null, webHookId: String? = null, type: MessageType? = null, activity: MessageActivity? = null, application: MessageApplication? = null)

Properties

Link copied to clipboard
@SerialName(value = "activity")
val activity: MessageActivity? = null
Link copied to clipboard
@SerialName(value = "application")
val application: MessageApplication? = null
Link copied to clipboard
@SerialName(value = "attachments")
val attachments: List<Attachment>
Link copied to clipboard
@SerialName(value = "author")
val author: User? = null
Link copied to clipboard
@SerialName(value = "channel_id")
val channelId: String
Link copied to clipboard
@SerialName(value = "content")
val content: String? = null
Link copied to clipboard
@SerialName(value = "edited_timestamp")
val editedAt: String? = null
Link copied to clipboard
@SerialName(value = "embeds")
val embeds: List<Embed>
Link copied to clipboard
@SerialName(value = "id")
val id: String
Link copied to clipboard
@SerialName(value = "pinned")
val isPinned: Boolean? = null
Link copied to clipboard
@SerialName(value = "tts")
val isTTS: Boolean? = null
Link copied to clipboard
@SerialName(value = "mention_everyone")
val mentionsEveryone: Boolean? = null
Link copied to clipboard
@SerialName(value = "reactions")
val reactions: List<Reaction>
Link copied to clipboard
@SerialName(value = "mention_roles")
val rolesIdsMentioned: List<String>
Link copied to clipboard
@SerialName(value = "timestamp")
val sentAt: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: MessageType? = null
Link copied to clipboard
@SerialName(value = "mentions")
val usersMentioned: List<User>
Link copied to clipboard
@SerialName(value = "nonce")
val validationNonce: String? = null
Link copied to clipboard
@SerialName(value = "webhook_id")
val webHookId: String? = null