Skip to content

Message Parameters

Note

The following classes come from the scurrypy.params.message module.


EditMessageParams

Bases: TypedDict

Parameters for editing a message

content: str instance-attribute

Message text content.

flags: int instance-attribute

Message flags. See MessageFlags.

Note

Can only set SUPPRESS_EMBEDS and IS_COMPONENTS_V2

components: list[ActionRowPart | ContainerPart] instance-attribute

Components to be attached to this message.

attachments: list[AttachmentPart] instance-attribute

Attachments to be attached to this message.

embeds: list[EmbedPart] instance-attribute

Embeds to be attached to this message.

message_reference: MessageReferencePart instance-attribute

Message reference if reply.