Skip to content

Parameters

--

message

EditMessageParams

Bases: TypedDict


              flowchart TD
              scurrypy.params.message.EditMessageParams[EditMessageParams]

              

              click scurrypy.params.message.EditMessageParams href "" "scurrypy.params.message.EditMessageParams"
            

Parameters for editing a message

content: str instance-attribute

Message text content.

flags: MessageFlags instance-attribute

Message flags.

Note

If omitted, existing message flags are not preserved automatically. Passing endpoint flags without explicitly setting flags will construct a new flags value.

components: list[ActionRow | Container] instance-attribute

Components to be attached to this message.

attachments: list[AttachmentPart] instance-attribute

Attachments to be attached to this message.

embeds: list[Embed] instance-attribute

Embeds to be attached to this message.

message_reference: MessageReferencePart instance-attribute

Message reference if reply.