ContactList
class ContactList<out C : Contact> @MiraiInternalApi constructor(val delegate: MutableCollection<@UnsafeVariance C>) : Collection<C>
Content copied to clipboard
只读联系人列表. 元素列表仍可能会被 mirai 内部修改.
See also
Constructors
Link copied to clipboard
Link copied to clipboard
fun <out C : Contact> ContactList(delegate: MutableCollection<@UnsafeVariance C>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
获取一个 Contact.id 为 id 的元素. 在不存在时抛出 NoSuchElementException.
Properties
Link copied to clipboard