newBot
abstract fun newBot( qq: Long, password: String, configuration: BotConfiguration): Bot
Content copied to clipboard
open fun newBot( qq: Long, password: String, configuration: BotFactory.BotConfigurationLambda): Bot
Content copied to clipboard
Kotlin:
newBot(123, "") {
// this: BotConfiguration
fileBasedDeviceInfo()
}
Content copied to clipboard
Java:
newBot(123, "", configuration -> {
configuration.fileBasedDeviceInfo()
})
Content copied to clipboard
abstract fun newBot( qq: Long, passwordMd5: ByteArray, configuration: BotConfiguration): Bot
Content copied to clipboard
Parameters
passwordMd5
16 bytes
open fun newBot( qq: Long, passwordMd5: ByteArray, configuration: BotFactory.BotConfigurationLambda): Bot
Content copied to clipboard
Kotlin:
newBot(123, password) {
// this: BotConfiguration
fileBasedDeviceInfo()
}
Content copied to clipboard
Java:
newBot(123, password, configuration -> {
configuration.fileBasedDeviceInfo()
})
Content copied to clipboard
Parameters
passwordMd5
16 bytes
Parameters
passwordMd5
16 bytes