nonebot / aiocqhttp

A Python SDK with async I/O for CQHTTP (OneBot).
https://aiocqhttp.nonebot.dev
MIT License
280 stars 39 forks source link

分享share到qq-mac客户端只显示链接,没有显示成卡片样式 #46

Closed tianruiMM closed 3 years ago

tianruiMM commented 3 years ago

问题描述 请描述你遇到的问题。

使用MessageSegment.share分享内容,

msg = MessageSegment.share(url='https://github.com/Ice-Cirno/HoshinoBot/blob/master/hoshino/modules/pcrclanbattle/clanbattle/README.md',
                               title='PUSH',
                               content='update readme')
await session.send(ret)

mac-qq客户端收到如下信息

【链接】https://github.com/Ice-Cirno/HoshinoBot/blob/master/hoshino/modules/pcrclanbattle/clanbattle/README.md
https://github.com/Ice-Cirno/HoshinoBot/blob/master/hoshino/modules/pcrclanbattle/clanbattle/README.md

image

手机端可以收到卡片样式的消息 image

期望的行为 期望 电脑版qq客户端也能收到分享的卡片样式,而非单纯的链接。

运行环境

ExerciseBook commented 3 years ago

您好,您用的 OneBot 服务端是哪一个?建议您移步对应的仓库询问。

因为以往某程序还活着的时候,类似的 Bug 也出现过,安卓/ios/windows/mac 的显示格式都不太一样。很草。

tianruiMM commented 3 years ago

谢谢解答!bug转移到https://github.com/Mrs4s/go-cqhttp/issues/689

操作系统: OneBot(CQHTTP)实现及版本:go-cqhttp v0.9.38-fix1 NoneBot 版本:1.6.0 aiocqhttp 版本:1.2.0 Python 版本:3.8