INSTANCE

object INSTANCE : BotFactory

Functions

Link copied to clipboard
open fun newBot(qq: Long, passwordMd5: ByteArray): Bot
open fun newBot(qq: Long, password: String): 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

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

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

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