package req // WelcomeConfig 欢迎词配置 type WelcomeConfig struct { Enable bool `json:"enable"` // 是否启用欢迎词 Content string `json:"content"` // 欢迎词内容 ChatRooms []string `json:"chat_rooms"` // 群聊列表 (后台维护,不再通过API设置) GroupKeyword string `json:"group_keyword"` // 设置需要欢迎群的关键词 } // SetWelcomeModel 设置欢迎词请求 type SetWelcomeModel struct { Config WelcomeConfig `json:"config"` // 欢迎词配置 } // GetWelcomeModel 获取欢迎词配置请求 type GetWelcomeModel struct { // 空结构体,不需要请求参数 } // AdminKeywordConfig 管理员关键词配置 type AdminKeywordConfig struct { Enable bool `json:"enable"` // 是否启用关键词设置管理员 Keyword string `json:"keyword"` // 设置管理员的关键词 } // SetAdminKeywordModel 设置管理员关键词请求 type SetAdminKeywordModel struct { Config AdminKeywordConfig `json:"config"` // 管理员关键词配置 } // GetAdminKeywordModel 获取管理员关键词配置请求 type GetAdminKeywordModel struct { // 空结构体,不需要请求参数 } // KickKeywordConfig 踢人关键词配置 type KickKeywordConfig struct { Enable bool `json:"enable"` // 是否启用关键词踢人 Keyword string `json:"keyword"` // 踢人的关键词 } // SetKickKeywordModel 设置踢人关键词请求 type SetKickKeywordModel struct { Config KickKeywordConfig `json:"config"` // 踢人关键词配置 } // GetKickKeywordModel 获取踢人关键词配置请求 type GetKickKeywordModel struct { // 空结构体,不需要请求参数 } // InviteKeywordPair 关键词与群ID对应关系 type InviteKeywordPair struct { Keyword string `json:"keyword"` // 邀请关键词 ChatRoom string `json:"chat_room"` // 对应的群ID } // InviteKeywordConfig 关键词邀请入群配置 type InviteKeywordConfig struct { Enable bool `json:"enable"` // 是否启用关键词邀请入群 SetupKeyword string `json:"setup_keyword"` // 设置关键词的关键词(例如:"设置加群关键词") Pairs []InviteKeywordPair `json:"pairs"` // 关键词与群ID对应关系列表 (后台维护,不再通过API设置) } // SetInviteKeywordModel 设置关键词邀请入群请求 type SetInviteKeywordModel struct { Config InviteKeywordConfig `json:"config"` // 关键词邀请入群配置 } // GetInviteKeywordModel 获取关键词邀请入群配置请求 type GetInviteKeywordModel struct { // 空结构体,不需要请求参数 }