Optionalallowed_Allowed mentions for the message
OptionalattachmentsAttached files to keep
Starting with API v10, the attachments array must contain all attachments that should be present after edit, including retained and new attachments provided in the request body.
OptionalcomponentsThe components to include with the message
OptionalcontentThe new message contents (up to 2000 characters)
OptionalembedsEmbedded rich content (up to 6000 characters)
OptionalflagsEdit the flags of a message (only SUPPRESS_EMBEDS can currently be set/unset)
When specifying flags, ensure to include all previously set flags/bits in addition to ones that you are modifying
See
https://discord.com/developers/docs/resources/channel#edit-message