Him188
3e644426c8
Make MessageChainBuilder
open
2020-04-22 17:03:06 +08:00
Him188
a63af80668
Deprecate QQ
...
Introduce `Friend` extending `User`
Introduce `User` acting as the superclass of `Friend` and `Member`
Add extensions `Member.asFriend`, etc.
Remove specialized `Contact.hashCode` and `Contact.equals`, inherit from `kotlin.Any`
Specify `toString` behavior in abstract `Contact` classes, instead of in implementation classes.
Add virtual member `Contact.sendMessage(String)`
Migrate the project from using `QQ` to `Friend`
Remove multiplatform Contact class structure, keep them common.
Remove extension `Long.at` in `GroupMessage`, `QQ.at` in `ContactMessage`.
Add `At.asMember()` in `GroupMessage`.
Make `calculateGroupUinByGroupCode`, `calculateGroupCodeByGroupUin` static on JVM.
2020-04-22 16:08:04 +08:00
Him188
3efeba1980
Merge remote-tracking branch 'origin/master'
2020-04-22 14:22:20 +08:00
Him188
3c9b057ad0
Rename Identified
to ContactOrBot
, remove experimental annotations
2020-04-22 14:03:29 +08:00
mzdluo123
896860e3b4
Update README.md
2020-04-22 14:00:05 +08:00
Him188
15527b56d8
Add compatibility tests
2020-04-22 13:54:50 +08:00
Him188
4b05cb45d1
Use List
instead of Sequence
2020-04-22 13:40:51 +08:00
Him188
373ad9e8aa
Replace Bot.instances: List<WeakRef>
with Bot.instances: Sequence<Bot>
2020-04-22 13:40:40 +08:00
Him188
d40e3ee745
Make BotIsBeingMutedException.botMuteRemaining
inline
2020-04-22 13:18:59 +08:00
Him188
3471684117
Add more DSL clauses
2020-04-22 12:41:51 +08:00
Him188
5aa85ba05c
?
2020-04-22 12:35:24 +08:00
Him188
9ad8dfa79b
Make crossinline
2020-04-22 12:16:27 +08:00
Him188
be6cc718c6
Fix version number
2020-04-22 11:51:21 +08:00
Him188
b78d9ad3bb
Rearrange tests
2020-04-22 11:40:44 +08:00
Him188
9ae02b5ade
Fix build
2020-04-22 11:36:57 +08:00
Him188
a662362131
Fix build
2020-04-22 11:36:27 +08:00
Him188
41f1c12c8a
Fix build
2020-04-22 11:27:14 +08:00
Him188
c425a809ba
Fix #245
2020-04-21 14:53:24 +08:00
Him188
ca216bc492
Fix syncFromEvent
, add Tests
2020-04-21 14:51:50 +08:00
Him188
422e8a9b4b
Rename MessagePacket.kt
to ContactMessage.kt
2020-04-21 14:37:54 +08:00
Him188
a516764630
Simplify expressions
2020-04-21 14:35:04 +08:00
Him188
069a88e803
Remove senseless contracts
2020-04-21 14:31:28 +08:00
Him188
d94b1d3279
Rename subscribingGet
to syncFromEvent
, subscribingGetAsync
to asyncFromEvent
; Improve docs
2020-04-21 14:30:35 +08:00
Him188
5234226788
Add noinline subscribers that take eventClasses
2020-04-21 14:19:17 +08:00
Him188
8c3b76e1d3
0.38.0 released
2020-04-20 22:09:36 +08:00
Him188
5af1d0435a
Add MessageChain.contentEquals
2020-04-20 22:04:39 +08:00
Him188
f845b5cded
Add Message.isPlain
, Message.isNotPlain
2020-04-20 21:52:22 +08:00
Him188
edd823c7bc
Improve docs
2020-04-20 21:52:07 +08:00
Him188
16fec25747
Fix typo, add MessageChain.allContent
, MessageChain.noneContent
2020-04-20 21:51:45 +08:00
Him188
9270195d31
Fix CombinedMessage.toString, add caches.
2020-04-20 21:28:54 +08:00
Him188
fa93204339
Merge remote-tracking branch 'origin/master'
2020-04-20 21:26:30 +08:00
Him188
96610b30e3
Support CustomMessage
2020-04-20 21:26:16 +08:00
ryoii
8c684c9e1b
Update Chat Group
2020-04-20 20:49:12 +08:00
Him188
1258746ec0
Add BotConfiguration.inheritCoroutineContext
2020-04-20 20:15:27 +08:00
Him188
162dfb7c71
Improve performance
2020-04-20 17:08:45 +08:00
Him188
c4b3eade4a
MessageChain.firstOrNull
rather than MessageChain.getOrNull
on JVM
2020-04-20 17:06:28 +08:00
Him188
0689f84bf8
Cleanup
2020-04-20 17:03:41 +08:00
Him188
1542b73fa9
Improve KDoc
2020-04-20 16:55:44 +08:00
Him188
c8cd03ac02
Fix function name on JVM, from MessageReceipt.recall
to MessageReceipt.recallIn
2020-04-20 16:55:07 +08:00
Him188
1eff81d41f
Use first
on JVM
2020-04-20 16:54:20 +08:00
Him188
1fae390fba
Enhance MessageChainBuilder
2020-04-20 16:23:37 +08:00
Him188
604559fb20
Merge remote-tracking branch 'origin/master'
2020-04-20 12:07:32 +08:00
Him188
09b7f80b82
0.37.5 released
2020-04-20 12:04:18 +08:00
Him188
ab0043723f
Update README.md
2020-04-19 21:29:55 +08:00
Him188
4fa9f1ac5b
Add missing @BotAsMember
2020-04-18 16:58:45 +08:00
Him188
405696d9ac
Use sequenceId as MessageSource.id
, await sequenceId on Group.sendMessage
2020-04-18 16:56:18 +08:00
Him188
c695f2cddf
Fix #240
2020-04-18 14:53:32 +08:00
Him188
7f347feedd
Deprecate openChannel
2020-04-17 21:36:39 +08:00
Him188
fa211cab5c
Fix retry when no Internet connection
2020-04-17 21:36:29 +08:00
Him188
ac6f411eb2
Add equals
and hashCode
to Message
s
2020-04-17 14:31:43 +08:00