From c236b0f3eed615ee8a9e96bfaba791ccbfb7e024 Mon Sep 17 00:00:00 2001 From: Freezemage Date: Tue, 6 Jun 2023 21:37:30 +0300 Subject: [PATCH] fix/json-mapper: Changed ?self to ?Message in Parts\Message::$referenced_message. --- src/Parts/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parts/Message.php b/src/Parts/Message.php index 7b2f3dbc..dd67372b 100644 --- a/src/Parts/Message.php +++ b/src/Parts/Message.php @@ -53,7 +53,7 @@ class Message public ?string $application_id; public ?MessageReference $message_reference; public ?Bitwise $flags; - public ?self $referenced_message; + public ?Message $referenced_message; public ?MessageInteraction $interaction; public ?Channel $thread; /**