chore: 后端方法注释

This commit is contained in:
CrescentLeaf
2026-01-17 00:59:11 +08:00
parent d35ce7a255
commit 200f5fd0aa
7 changed files with 97 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ export default class MessagesManager {
return db
}
/**
* 为对话获取实例
* @param chat 对话
*/
static getInstanceForChat(chat: Chat) {
return new MessagesManager(chat)
}