@@ -895,7 +895,7 @@ class PartialMessage(snowflakes.Unique):
895895 This is a string used for validating a message was sent.
896896 """
897897
898- referenced_message : undefined .UndefinedNoneOr [Message ] = attr .field (hash = False , eq = False , repr = False )
898+ referenced_message : undefined .UndefinedNoneOr [PartialMessage ] = attr .field (hash = False , eq = False , repr = False )
899899 """The message that was replied to.
900900
901901 If `type` is `MessageType.REPLY` and `hikari.undefined.UNDEFINED`, Discord's
@@ -1737,8 +1737,11 @@ class Message(PartialMessage):
17371737 nonce : typing .Optional [str ] = attr .field (hash = False , eq = False , repr = False )
17381738 """The message nonce. This is a string used for validating a message was sent."""
17391739
1740- referenced_message : typing .Optional [Message ] = attr .field (hash = False , eq = False , repr = False )
1741- """The message that was replied to."""
1740+ referenced_message : typing .Optional [PartialMessage ] = attr .field (hash = False , eq = False , repr = False )
1741+ """The message that was replied to.
1742+
1743+ If `type` is `MessageType.REPLY` and `builtins.None`, the message was deleted.
1744+ """
17421745
17431746 interaction : typing .Optional [MessageInteraction ] = attr .field (hash = False , eq = False , repr = False )
17441747 """Information about the interaction this message was created by."""
0 commit comments