ContactListCacheConfiguration

data class ContactListCacheConfiguration(var saveIntervalMillis: Long = BotConfiguration.Default.contactListCache.saveIntervalMillis, var friendListCacheEnabled: Boolean = BotConfiguration.Default.contactListCache.friendListCacheEnabled, var groupMemberListCacheEnabled: Boolean = BotConfiguration.Default.contactListCache.groupMemberListCacheEnabled)(source)

mirai的联系人列表缓存配置的对应配置类。

See also

Constructors

Link copied to clipboard
fun ContactListCacheConfiguration(saveIntervalMillis: Long = BotConfiguration.Default.contactListCache.saveIntervalMillis, friendListCacheEnabled: Boolean = BotConfiguration.Default.contactListCache.friendListCacheEnabled, groupMemberListCacheEnabled: Boolean = BotConfiguration.Default.contactListCache.groupMemberListCacheEnabled)

Types

Link copied to clipboard
object Companion

Properties