chore: 提取公共类

This commit is contained in:
CrescentLeaf
2025-11-08 23:50:43 +08:00
parent 3c5bd187b7
commit 743ccd1172
3 changed files with 10 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
interface GroupSettingsBean {
import BaseChatSettings from "./BaseChatSettingsBean.ts"
interface GroupSettingsBean extends BaseChatSettings {
allow_new_member_join?: boolean
allow_new_member_from_invitation?: boolean
new_member_join_method?: 'disabled' | 'allowed_by_admin' | 'answered_and_allowed_by_admin'
@@ -7,8 +9,6 @@ interface GroupSettingsBean {
// 下面两个比较特殊, 由服务端给予
group_title: string
group_name: string
[key: string]: unknown
}
export default GroupSettingsBean