mirai-core / net.mamoe.mirai.message / recall

recall

suspend fun MessageReceipt<*>.recall(): Unit

撤回这条消息. recallrecallIn 只能被调用一次.

Exceptions

IllegalStateException - 当此消息已经被撤回或正计划撤回时

See Also

Bot.recall