diff --git a/discord/types/message.py b/discord/types/message.py index 84e943f26..86ac82df6 100644 --- a/discord/types/message.py +++ b/discord/types/message.py @@ -31,6 +31,7 @@ from .user import User from .emoji import PartialEmoji from .embed import Embed from .channel import ChannelType +from .interactions import MessageInteraction class ChannelMention(TypedDict): @@ -116,6 +117,7 @@ class _MessageOptional(TypedDict, total=False): flags: int stickers: List[Sticker] referenced_message: Optional[Message] + interaction: MessageInteraction MessageType = Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 19, 20]