buildContactListCacheConfiguration
fun buildContactListCacheConfiguration(builder: BuilderFunction<MiraiBotVerifyInfoConfiguration.ContactListCacheConfiguration>): MiraiBotVerifyInfoConfiguration.ContactListCacheConfiguration(source)
构建一个 ContactListCacheConfiguration 实例。
buildContactListCacheConfiguration {
saveIntervalMillis = 123
friendListCacheEnabled = false
groupMemberListCacheEnabled = false
}
Content copied to clipboard
ContactListCacheConfiguration configuration = ContactListCacheConfiguration.build(config -> {
config.setSaveIntervalMillis(123);
config.setFriendListCacheEnabled(false);
config.setGroupMemberListCacheEnabled(false);
});
Content copied to clipboard