diff --git a/nonebot/adapters/cqhttp/message.py b/nonebot/adapters/cqhttp/message.py index ce1190c8..07c463c5 100644 --- a/nonebot/adapters/cqhttp/message.py +++ b/nonebot/adapters/cqhttp/message.py @@ -177,12 +177,12 @@ class MessageSegment(BaseMessageSegment): def share(url: str = "", title: str = "", content: Optional[str] = None, - img_url: Optional[str] = None) -> "MessageSegment": + image: Optional[str] = None) -> "MessageSegment": return MessageSegment("share", { "url": url, "title": title, "content": content, - "img_url": img_url + "image": image }) @staticmethod