register

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

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

Parameters

onBot

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