SystemCommandSender

interface SystemCommandSender : CommandSender

一个来自内部系统的命令执行者.

包括

Functions

Link copied to clipboard
abstract suspend fun sendMessage(message: String): MessageReceipt<Contact>?
abstract suspend fun sendMessage(message: Message): MessageReceipt<Contact>?

立刻发送一条消息.

Properties

Link copied to clipboard
abstract val bot: Bot?

与这个 CommandSender 相关的 Bot. 当通过控制台执行时为 null.

Link copied to clipboard
abstract val coroutineContext: CoroutineContext
Link copied to clipboard
abstract val isAnsiSupported: Boolean

当前 SystemCommandSender 是否支持 Ansi 信息

Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val permitteeId: PermitteeId
Link copied to clipboard
abstract val subject: Contact?

与这个 CommandSender 相关的 Contact.

Link copied to clipboard
abstract val user: User?

指令原始发送.

Inheritors

Link copied to clipboard
Link copied to clipboard