register

abstract fun register(appId: String, appKey: String, token: String, botConfiguration: QGBotComponentConfiguration.() -> Unit = {}, onBot: suspend (QGBot) -> Unit)(source)

提供 appIdappKeytoken配置信息 来预注册一个bot。

Parameters

onBot

当bot被注册后的回调函数。