mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-24 02:40:13 +08:00
Introduce the proposal of implementing Map<UInt, Member> for Group
This commit is contained in:
parent
8b96c072fa
commit
9db853e672
@ -16,7 +16,7 @@ import net.mamoe.mirai.utils.internal.coerceAtLeastOrFail
|
||||
* - Group ID([Group.internalId]) 是与调用 API 时使用的 id.(在 QQ 客户端中不可见)
|
||||
* @author Him188moe
|
||||
*/
|
||||
interface Group : Contact, Iterable<Member> {
|
||||
interface Group : Contact, Iterable<Member>/*, Map<UInt, Member>*/ { // TODO: 2019/12/4 在 inline 稳定后实现 Map<UInt, Member>. 目前这样做会导致问题
|
||||
/**
|
||||
* 内部 ID. 内部 ID 为 [GroupId] 的映射
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user