Outgoing Edited Message#
The OutgoingMessage update is triggered when a message is sent from the business. It contains information about the message being sent, including its content and metadata.
- class pywa.types.OutgoingEditedMessage#
An edited message that is sent by the business (Also known as Echo message).
- Variables:
id – The ID of the edit event (not the original message ID).
original_message_id – The original message ID before the edit.
type – The type of the edit (See
MessageType).chat – The chat where the message was edited (private or group).
metadata – The metadata of the message (to which phone number it was sent).
to_user – The recipient of the message.
timestamp – The timestamp when the message was edited (in UTC).
message – The updated version of the message after the edit.