Him188
430c2c59ad
Support UnsupportedMessage ( #1112 )
...
* Support UnsupportedMessage
* Fix serialize
* `UnsupportedMessage.contentToString`: use `struct.contentHashCode()`
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-26 23:54:17 +08:00
Him188
0c3c85f61c
Add members to make ForwardMessageBuilder easier to use from Java, close #1087
2021-03-22 11:24:26 +08:00
Him188
daa7453d73
Add UserOrBot.nameCardOrNick
2021-03-22 11:16:34 +08:00
Him188
146433d56f
Add common UserOrBot.nick
2021-03-22 11:16:34 +08:00
Him188
95d879c3e2
apiDump
2021-03-20 22:51:13 +08:00
Him188
09cbc55ef6
RemoteFile.FileInfo.resolveToFile: use FileSupport than Group
2021-03-20 16:45:01 +08:00
Him188
74d59982ae
Add more extensions for RemoteFile and ExternalResource
2021-03-20 15:59:58 +08:00
Him188
b5d8306902
Add RemoteFile.listFilesCollection()
...
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-20 15:59:58 +08:00
Him188
af58c163d2
- Add FileMessage.internalId hence support serialization
...
- Add FileMessage.Serializer
- Add FileMessage.create and IMirai.createFileMessage to construct manually
- Mark FileMessage as stable
- Move TestMiraiCode from mirai-core-api to mirai-core
fix #1082
2021-03-20 15:33:08 +08:00
Him188
841b94e9a7
Merge remote-tracking branch 'mirai/dev' into dev
2021-03-18 12:37:13 +08:00
Him188
9d28540073
Update blocking bridge version to 1.10.3, fix NoClassDefFoundError, fix #1078
2021-03-18 12:36:53 +08:00
Karlatemp
3152e24523
Fix operations of RemoteFile ( #1104 )
...
* Fix operations of RemoteFile
* apiDump
* Remove duplicate method
* Don't setup fileId
2021-03-18 12:30:06 +08:00
Him188
e256ec06d3
Support file operations ( #1069 )
...
* Proto structs for group file
* RemoteFile fundamental abstraction and proto structs
* Configure JVM target for mirai-console-intellij
* Add Group.filesRoot
* Fix build
* Implement a FileSystem for RemoteFile resolution
* Fix RemoteFile FileSystem and implement resolve and listFiles
* Implement file info query and file download
* Support uploading group file
* Support file feeds
* 2.5-M2-dev-1
* Fix tests
* 2.5-M2-dev-2
* Add uuid-based resolving, support getting file details
* Support FileMessage receive
* Support sending FileMessage
* 2.5-M2-dev-3
* Add DownloadInfo.id
* Improve RemoteFile.delete
* Support move, delete, rename, mkdir. Simplify listFiles
* - Rename RemoteFile.write to .upload.
- Prefer id matching
- Improve move
* Add permission checks
* Improve permission checks
* Rearrange functions and add constant ROOT_PATH
* Introduce FileSupported, add extensions
* Introduce ProgressionCallback
* Fix docs and uploadFileAndSend
* Remove empty FileHighway.kt
* Add test testNormalize
* Add RemoteFile.contact, change RemoteFile.uploadAndSend return type to MessageReceipt
* Move @JvmBlockingBridge to file
* Change FileMessage.toRemoteFile parameter type Group to FileSupported
* Add impl notes #1082
2021-03-08 18:34:45 +08:00
Karlatemp
d5e6483dc1
apiDump for Android
2021-02-26 18:36:35 +08:00
Him188
cad9bd2479
apiDump for Android
2021-02-25 11:22:11 +08:00
Him188
9c3a175b02
Configure binary compatibility validator for android target
2021-02-24 11:36:03 +08:00