Social shares
Universal
Now the inline share feature can find all the supported links in the input texts, and gives all of the supported results. Includes share url re-formatting, and share the social content feature. That means you do not need to add get
prefix or suffix when share something with content. However, that may makes the inline query slower.
For inline content share, you can now select if to share the whole content with combined image(if supported), or just one single image. Useful if you just want to share a picture but do not want the looooong descriptions. A URL to the image is still provided.
You can select if one image to share, or the combined whole content | Share one image that you selected | Combined, whole content, just like the old share format |
---|---|---|
Also changes the inline results displays, to better display which origin URL this option is from, and which share type:
Android | Desktop |
---|---|
Bilibili
Add supports to fetch Bilibili video about information, includes the video thumbnail, video length, author name, introduction texts.
Supports /get
command, auto-fetch in private chat to Morny, and inline query.
Known issues (#52)
Seems there are some video's thumbnail image that Telegram side cannot process it, that will cause inline share fails to load the preview formatted share.
We think this may be due to the small size of the thumbnails, but we still haven't found a definite commonality. If you encounter such a problem, please report it to us under the issue or to our maintainer.
This type of failure happens mostly in the very old videos. And this only affects inline share, also will not make the whole inline query fails.
/get
command will always available to render the preview.
Xiaohongshu
Add supports to convert xiaohongshu share url. More specifically, ability to change xhslink.com/xxx share url to xiaohongshu.com/explorer/xxx standard note url.
Due to we cannot find an available API, the Xiaohongshu share with content preview is not planned. We will add this feature if anyone may provide us an available API.
Misc feature updates
- Add a fediverse channel link to
/info
abouts. - Fix
/exit
may mis-trigger when user trying to/exit
from others bot.
This is implemented by detecting whether the
/exit
command is targeting to Morny: is command runs on Morny's private chat, or the command have explicit target section that are targeting Morny.
Bug fixes
- Fix the
EventEnv
'sStateSource
records incorrect from stack trace.
Technical changes
- Update reource-tools to 0.3.1