(msg: Api.Message)
| 228 | // 获取会话模式 |
| 229 | private getChatMode(chatId: string): boolean | null { |
| 230 | return this.db.data.chats.hasOwnProperty(chatId) ? |
| 231 | this.db.data.chats[chatId] : null; |
| 232 | } |
| 233 | |
| 234 | // 设置会话模式 |
| 235 | private async setChatMode(chatId: string, enabled: boolean): Promise<void> { |
no outgoing calls
no test coverage detected