mirai-api-http icon indicating copy to clipboard operation
mirai-api-http copied to clipboard

Mirai HTTP API (console) plugin

Results 70 mirai-api-http issues
Sort by recently updated
recently updated
newest added

解决部分接口返回未使用RESTFul的问题

现在的消息缓存全部在内存中,重启之后就会消失。 能否考虑增加持久化缓存的可选项,将消息缓存保存到数据库中?

Feature

目前好像只有群称号改变事件,没找到怎么获取群称号的方法,希望能够支持获取

Feature

例如我的JAR插件 [mirai-hibernate-plugin](https://github.com/cssxsh/mirai-hibernate-plugin) 实现消息持久化到数据库, 希望在 mirai-api-http 的 route 里拓展一个 Restful Api 方便非JAR插件调用

https://github.com/project-mirai/mirai-api-http/blob/master/docs/adapter/WebsocketAdapter.md#%E5%9B%BE%E7%89%87%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0 语音/图片/文件上传

- 可以这样做吗? - 可以的话能提供一个实例文件吗? - 可以不同程序使用不同的认证吗?

现在有一个问题,加入一个带有图片和文字的消息被转发(直接转发而非合并转发),则收到的 消息中的图片url有问题,无法正确打开,只有直接发送的图片+文字没有问题,所以现在想通过图片Id获取图片的url,有什么方法么 如图是直接发送,得到的图片url,是正常的可访问的: ![direct](https://user-images.githubusercontent.com/23572936/147947376-ae4133ea-4c84-4fbd-9357-1a53092b057d.png) 如图是使用手机长按,转发图片的url,是无法正常访问的错误url,但是图片id是正确的: ![non](https://user-images.githubusercontent.com/23572936/147947426-9138fcc0-d256-45fb-b741-fbe82bd7257d.png) ![QQ图片20220103231643](https://user-images.githubusercontent.com/23572936/147947441-5a9b38dc-d34f-4931-b8c1-add39d045b86.png) 请问是什么问题呢?

core-update-need

突然发现我在群里发xml类型的消息,机器人接受到的消息类型不是xml而是Plain,反之用机器人xml类型消息发送消息会变成连接 ![Screenshot_2022-03-18-18-57-50-226_com tencent mobileqq](https://user-images.githubusercontent.com/79201070/158991106-b3740225-28ea-44f6-b331-c5d236b7321d.jpg)

Hello, First of all, we have to express our appreciation for such a great project, which without we couldn't have built our bot easily. As a user I must say...

![image](https://user-images.githubusercontent.com/68884928/91706808-7ef5d400-ebb1-11ea-8a76-817e69fbed93.png)

Feature