MiraiSendOnlyComputableMessage

See also

Functions

Link copied to clipboard
abstract operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open suspend fun originalMiraiMessage(contact: Contact): Message
abstract suspend fun originalMiraiMessage(contact: Contact, isDropAction: Boolean): Message

通过一个 Contact 计算得到一个具体的 OriginalMiraiMessage

Link copied to clipboard
abstract override fun toString(): String

Properties

Link copied to clipboard
abstract val key: Message.Key<E>

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
suspend fun Message.toOriginalMiraiMessage(contact: Contact, isDropAction: Boolean = false): Message

将一个 Message 转化为 OriginalMiraiMessage 以发送。

Link copied to clipboard
suspend fun Message.toOriginalMiraiMessageChain(contact: Contact, isDropAction: Boolean = false): MessageChain