Message
@Serializable
Constructors
Link copied to clipboard
constructor(id: String, channelId: String, guildId: String? = null, author: User, partialMember: GuildMember? = null, content: String, sentAt: String, editedAt: String?, isTTS: Boolean, mentionsEveryone: Boolean, 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, webhookId: String? = null, type: MessageType, activity: MessageActivity? = null, application: MessageApplication? = null, reference: MessageReference? = null, flags: Int? = null, interaction: MessageInteraction? = null, thread: Channel? = null, components: List<MessageComponent> = emptyList(), stickerList: List<PartialSticker> = emptyList())
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Shortcut to check if a message is from a user.
Link copied to clipboard
Shortcut to check if a message is from a webhook.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard