Module twilight_validate::message
source · [−]Expand description
Constants, error types, and functions for validating Message
fields.
Structs
A message is not valid.
Enums
Type of MessageValidationError
that occurred.
Constants
Maximum number of embeds that a message may have.
Maximum length of message content.
Maximum amount of stickers.
Functions
Ensure an attachment’s filename is correct.
Ensure a list of components is correct.
Ensure a message’s content is correct.
Ensure a list of embeds is correct.
Ensure that the amount of stickers in a message is correct.