diff --git a/src/EventHandler/Message.php b/src/EventHandler/Message.php index b58482f0d..52326001f 100644 --- a/src/EventHandler/Message.php +++ b/src/EventHandler/Message.php @@ -88,6 +88,12 @@ abstract class Message extends AbstractMessage /** Last edit date of the message */ public readonly ?int $editDate; + /** + * Indicates if the post has a hidden edit, which is an edit that does not modify the actual message content. + * Used to signify non-content related updates such as reactions. + */ + public readonly ?bool $editHide; + /** Inline or reply keyboard. */ public readonly InlineKeyboard|ReplyKeyboard|null $keyboard; @@ -147,6 +153,7 @@ abstract class Message extends AbstractMessage $this->signature = $rawMessage['post_author'] ?? null; $this->groupedId = $rawMessage['grouped_id'] ?? null; $this->editDate = $rawMessage['edit_date'] ?? null; + $this->editHide = $rawMessage['edit_hide'] ?? null; $this->message = $rawMessage['message']; $this->fromScheduled = $rawMessage['from_scheduled'] ?? false;