ContactList
class ContactList<out C : Contact> @MiraiInternalApi constructor(val delegate: MutableCollection<@UnsafeVariance C>) : Collection<C>
只读联系人列表. 元素列表仍可能会被 mirai 内部修改.
See also
Functions
Link copied to clipboard
Link copied to clipboard
获取一个 Contact.id 为 id 的元素. 在不存在时抛出 NoSuchElementException.
Link copied to clipboard
转换得到 mirai 码.
Link copied to clipboard
fun Iterable<MessageEvent>.toForwardMessage(displayStrategy: ForwardMessage.DisplayStrategy = DisplayStrategy): ForwardMessage
转换为 ForwardMessage
Link copied to clipboard
扁平化 this 并创建一个 MessageChain.