🐛 fix wrong data in CQ:share #170

This commit is contained in:
yanyongyu 2021-01-30 10:56:58 +08:00
parent 5f6a2fffc5
commit b140ebd149

View File

@ -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