INSTANCE

Functions

Link copied to clipboard
open fun newBot(qq: Long, passwordMd5: ByteArray): Bot
open fun newBot(qq: Long, password: String): Bot
open fun newBot(qq: Long, authorization: BotAuthorization): Bot

使用 默认配置 构造 Bot 实例

open fun newBot(qq: Long, passwordMd5: ByteArray, configuration: BotFactory.BotConfigurationLambda): Bot
open fun newBot(qq: Long, password: String, configuration: BotFactory.BotConfigurationLambda): Bot
open fun newBot(qq: Long, authorization: BotAuthorization, configuration: BotFactory.BotConfigurationLambda): Bot

使用指定的 配置 构造 Bot 实例

inline fun newBot(qq: Long, passwordMd5: ByteArray, configuration: BotConfiguration.() -> Unit): Bot
open override fun newBot(qq: Long, passwordMd5: ByteArray, configuration: BotConfiguration): Bot
inline fun newBot(qq: Long, password: String, configuration: BotConfiguration.() -> Unit): Bot
open override fun newBot(qq: Long, password: String, configuration: BotConfiguration): Bot
open override fun newBot(qq: Long, authorization: BotAuthorization, configuration: BotConfiguration): Bot

使用指定的 配置 构造 Bot 实例