buildConfig
fun buildConfig(builder: BuilderFunction<MiraiBotVerifyInfoConfiguration.Config>): MiraiBotVerifyInfoConfiguration.Config(source)
构建一个新的 Config 实例。
// Kotlin
buildConfig {
// ...
}
Content copied to clipboard
// Java
Config config = Config.build(builder -> {
// ...
});
Content copied to clipboard